Ftp: type
Sets or displays the file transfer type.
type [TypeName]
TypeName : Specifies the file transfer type.
? type : Displays help for the type command.
If TypeName is not specified, the current type is displayed.
Ftp supports two file transfer types, ASCII and binary.
The default file transfer type is ASCII. The ascii command 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 required, based on the operating system at the destination.
The binary command should be used when transferring executable files. In binary mode, the file is moved in one-byte units.
Format |
Meaning |
---|---|
Italic |
Information that the user must supply |
Bold |
Elements that the user must type exactly as shown |
Ellipsis (...) |
Parameter that can be repeated several times in a command line |
Between brackets ([]) |
Optional items |
Between braces ({}); choices separated by pipe (|). Example: {even|odd} |
Set of choices from which the user must choose only one |
Courier font |
Code or program output |