<< back to sysax.com Product page

10.1. Compressing Files and Folders

The FTPCompress method can be used to compress files and folders. The name of the compressed file is returned.

Exhibit 10.1. IDL Definition of method to compressing files and folders


HRESULT FTPCompress ([in] BSTR b_name, [out, retval] BSTR *b_compressedname);


Exhibit 10.2. Example usage of method to compressing files and folders (VBScript)


Dim compfile
compfile = app.FTPCompress "file.txt"