<< back to sysax.com Product page

4.6. ASCII and Binary transfers

The SetTransferType method can be used to manually select between ASCII mode and binary mode when performing file transfers. The transfer type can be set to "ascii", "binary", or "auto". This is applicable only for FTP or FTPS based file transfers.

Exhibit 4.11. IDL Definition of method for ascii and binary transfers


HRESULT SetTransferType ([in] BSTR b_asciibinauto);


Exhibit 4.12. Example usage of method for ascii and binary transfers (VBScript)


app.SetTransferType "auto"