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

FTP_SetLocalDir

Previous pageReturn to chapter overviewNext page

 

Description

 

Set the current local working directory.

 

Syntax

 

n = FTP_SetLocalDir(LocalCurrentDir)

 

Returns

 

Number

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

 

Parameters

 

Name

Type

Optional

Meaning

LocalCurrentDir

String

No

The local computer current directory

 

Remarks

 

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

 

Restrictions

 

See also

 

Examples