ftp Library Package 2.1 for Tcl/Tk Manual Pages
Only ascii and binary types are currently supported. There is some early (alhpa) support for Tenex mode. The ascii type is normally used to convert text files to a format suitable for text editors on the platform depended destination machine. The binary type allows undisturbed transfers of non-text files, such as compressed files, images and executables.
# get file transfer type set current_type [ftp::Type $conn] # set file transfer type ftp::Type $conn ascii
[Contents] [Previous: ftp::Pwd] [Next: ftp::List]