FTP_SetServerDir

<< Click to Display Table of Contents >>

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

FTP_SetServerDir

 

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