<< back to sysax.com Product page

8.1. Setting up Source and Destination

The SetSource method is used to set the source folder for a comparison operation. The "local" or "remote" keywords can be set to indicate if the source folder is a local folder or a remote folder.

The SetDestination method is used to set the destination folder for a comparison operation. The "local" or "remote" keywords can be set to indicate if the destination folder is a local folder or a remote folder.

Exhibit 8.1. IDL Definition of method for setting up source and destination


HRESULT SetSource      ([in] BSTR b_localremote, [in] BSTR b_path);
HRESULT SetDestination ([in] BSTR b_localremote, [in] BSTR b_path);


Exhibit 8.2. Example usage of method for setting up source and destination (VBScript)


app.SetSource       "local", "c:\\ftp"
app.SetDestination  "remote", "/"