<< back to sysax.com Product page

9.6. Copying Local Files and Folders

The FTPCopyLocal method can be used to copy a local file or folder to a different destination folder.

Exhibit 9.11. IDL Definition of method to copying local files and folders


HRESULT FTPCopyLocal ([in] BSTR b_sourcename, [in] BSTR b_destpath);


Exhibit 9.12. Example usage of method to copying local files and folders (VBScript)


app.FTPCopyLocal    "file.txt", "c:\\ftp"