The FTP specification includes many parameters which may affect a
file transfer. The type may be one of ‘ascii’, ‘image’
(binary), ‘ebcdic’, and ‘local’ byte size (for PDP-10’s and
ftp supports the ‘ascii’ and
‘image’ types of file transfer, plus local byte size 8 for tenex
ftp supports only the default values for the remaining file
An error in the treatment of carriage returns in the 4.2BSD ascii-mode transfer code has been corrected by the present implementation. This correction may result in corrupt transfers of binary files to and from 4.2BSD servers, when done using the ascii type. Avoid this problem by using the binary image type.