<< back to sysax.com Product page

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

Exhibit 3.9. table title

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

Some examples are

Exhibit 3.10. table title

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

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