<< back to sysax.com Product page

3.3. Setting Local and Remote paths

The FTPSetPath method can be used to set the current local or remote paths by using the "local" or "remote" keywords and specifying the path name to be set.

Exhibit 3.7. IDL Definition of method to set local and remote paths


HRESULT FTPSetPath ([in] BSTR b_localremote, [in] BSTR b_path);


Exhibit 3.8. Example usage of method to set local and remote paths (VBScript)


'set the local and remote paths
app.FTPSetPath "local", "c:\\tmp"
app.FTPSetPath "remote", "/"