3.5. Set file transfer type
The type
Sets or displays the file transfer type.This command is followed by the parameter 'Type-name'. Type-name specifies the file transfer type; the default is ASCII. If type-name is not specified, the current type is displayed.
Note:
FTP supports two file transfer types, ASCII and binary image. ASCII should be used when transferring text files. In ASCII mode, character conversions to and from the network standard character set are performed. For example, end-of-line characters are converted as necessary, based on the destination's operating system. Binary should be used when transferring executable files. In binary mode, the file is moved byte-by-byte.
The Syntax is
Exhibit 3.6. Syntax of "type" command
The example is
Exhibit 3.7. Example of "type" command
sysaxftp> type
Using ascii mode to transfer files.
sysaxftp>
|