<< back to sysax.com Product page

4.8. ASCII and binary transfer types

The settransfertype command is used to set the appropriate transfer type for the file being transferred. The ASCII transfer type is used to transfer text while the binary transfer type is used to transfer images. The auto transfer type tries to detect the file type based on its extension and performs either ASCII or binary transfer. The predefined keywords ascii, binary, and auto are used to select the desired transfer type.

Exhibit 4.23. Syntax of command for setting ASCII and binary transfer types

settransfertype <keywords: ascii, binary, auto>;

Exhibit 4.24. Example for using the command for setting ASCII and binary transfer types

settransfertype binary; #set transfer type to binary

settransfertype ascii; #set transfer type to ascii