<< back to sysax.com Product page

4.1. Downloading Files and Folders

The FTPDownload method can be used to download a file or an entire folder. The "file" or "folder" keyword is used to specify whether a file or folder is to be downloaded.

Exhibit 4.1. IDL Definition of method to download files and folders


HRESULT FTPDownload ([in] BSTR b_filefolder, [in] BSTR b_remotename, [in, defaultvalue("")] BSTR b_localname);


Exhibit 4.2. Example usage of method to download files and folders (VBScript)



'download a file from the remote site
app.FTPDownload "file", "test.txt", "downloaded-test.txt"