gftp/command/file_type
File type options for FTP
Types
File Type used in TYPE command
pub type FileType {
Ascii(FormatControl)
Ebcdic(FormatControl)
Image
Binary
Local(Int)
}
Constructors
-
Ascii(FormatControl)ASCII text (the argument is the text format control)
-
Ebcdic(FormatControl)EBCDIC text (the argument is the text format control)
-
ImageImage (binary data)
-
BinaryBinary (the synonym to Image)
-
Local(Int)Local format (the argument is the number of bits in one byte on local machine)
Text Format Control used in TYPE command
pub type FormatControl {
Default
NonPrint
Telnet
Asa
}
Constructors
-
DefaultDefault text format control (is NonPrint)
-
NonPrintNon-print (not destined for printing)
-
TelnetTelnet format control (<CR>, <FF>, etc.)
-
AsaASA (Fortran) Carriage Control