decorative banner

Previous | Next               Table Of Contents > 3 File transfer commands > 3.2 Local and remote paths

3.2 Local and remote paths

The ftpsetpath command is used to set the current working path for the local and remote systems. The predefined keywords local or remote are used to specify either the local or remote system. The path string contains the new path to be set. The ftpresult predefined status flag is set to the predefined constant success if the command completed successfully.

The syntax is

ftpsetpath <keywords: local, remote>, <path string>;

Some examples are

ftpsetpath local, "c:\\ftptemp"; #set the current local working path

ftpsetpath remote, "/home/ftpin"; "set the current remote working path

Previous | Next