<< back to sysax.com Product page

4.2. Uploading Files and Folders

The FTPUpload method can be used to upload a file or an entire folder. The "file" or "folder" keyword is used to specify whether a file or folder is to be uploaded.

Exhibit 4.3. IDL Definition of method to upload files and folders


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


Exhibit 4.4. Example usage of method to upload files and folders (VBScript)


'upload a file to the remote site
app.FTPUpload "file", "test.txt", ""