Navigation:  thinBasic Modules > FTP (File Transfer Profotol) >

FTP_SetServerDir

Previous pageReturn to chapter overviewNext page

 

Description

 

Set the current remote working directory.

 

Syntax

 

n = FTP_SetServerDir(LocalRemoteDir)

 

Returns

 

Number

Return < 0 : An error has occurred. Call FTP_GetErrorStrin(n).

 

Parameters

 

Name

Type

Optional

Meaning

LocalRemoteDir

String

No

The server current directory

 

Remarks

 

Before sending or receiving files, it is needed to set the remote working directory

 

Restrictions

 

See also

 

Examples