<< back to sysax.com Product page

4.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.

Exhibit 4.9. Syntax of command for setting local and remote paths

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

Exhibit 4.10. Example for using the command for setting path

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

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