decorative banner

Previous | Next               Table Of Contents > 3 File transfer commands > 3.7 ASCII and binary transfer types

3.7 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.

The syntax is

settransfertype <keywords: ascii, binary, auto>;

Some examples are

settransfertype binary; #set transfer type to binary

settransfertype ascii; #set transfer type to ascii

Previous | Next