LOCALCWDIR

Get the current local directory.

Syntax: LOCALCWDIR()


Remarks:
As this command does not accept any parameters the brackets are optional.
This command does not produce any output in the ScriptFTP window. It will always be silent.

Return value:
This command never reports an error. The return value always is the current local directory.

See also:
LOCALRMDIR
LOCALMKDIR
CWDIR
CHDIR

Example:

# Connect to server
OPENHOST("ftp.myhost.com","myuser","mypassword")

# Show the current local directory
$a=LOCALCWDIR()
PRINT($a)

# Change current local directory
LOCALCHDIR("C:/backup/docs/")

# This syntax is also valid
$a=LOCALCWDIR

# Should show C:/backup/docs
PRINT($a)

# Close the connection
CLOSEHOST