'binary' issues TYPE I (image): bytes pass through unchanged. This is the default.
'ascii' issues TYPE A: the server performs end-of-line conversion between its native
line ending and the protocol CRLF. Use it for text files when the local and remote
platforms differ. On Linux servers (native LF) TYPE A and TYPE I are often byte-identical
since LF needs no conversion, but the command is still negotiated.
FTP transfer representation type.
'binary'issuesTYPE I(image): bytes pass through unchanged. This is the default.'ascii'issuesTYPE A: the server performs end-of-line conversion between its native line ending and the protocolCRLF. Use it for text files when the local and remote platforms differ. On Linux servers (native LF)TYPE AandTYPE Iare often byte-identical since LF needs no conversion, but the command is still negotiated.