TCP IP Illustrated

Normally used to transfer binary files d local file

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: al text file type. file:///D|/Documents%20and%20Settings/bigini/Docum.../homenet2run/tcpip/tcp-ip-illustrated/ftp_file.htm (2 of 24) [12/09/2001 14.47.49] Chapter 27. FTP: File Transfer Protocol The end of each line is transferred using the NVT ASCII representation of a carriage return, followed by a linefeed. This means the receiver must scan every byte, looking for the CR, LF pair. (We saw the same scenario with TFTP's ASCII file transfer in Section 15.2.) b. EBCDIC file type. An alternative way of transferring text files when both ends are EBCDICsystems. c. Image file type. (Also called binary.) The data is sent as a contiguous stream of bits. Normally used to transfer binary files. d. Local file type. A way of transferring binary files between hosts with different byte sizes. The number of bits per byte is specified by the sender. For systems using 8bit bytes, a local file type with a byte size of 8 is equivalent to the image file type. 2. Format control. This choice is available only for ASCII and EBCDIC file types. a. Nonprint. (Default) The file contains no vertical format information. b. Telnet format control. The file contains Telnet vertical format controls for a printer to interpret. c. Fortran carriage control. The first character of each line is the Fortran format control character. 3. Structure. a. File structure. (Default) The file is considered as a contiguous stream of bytes. There is no internal file structure. b. Record structure. This structure is only used with text files (ASCII or EBCDIC). c. Page structure. Each page is transmitted with a page number to let the receiver store the pages in a random order. Provided by the TOPS-20 operating system. (The Host Requirements RFC recommends against implementing this structure.) file:///D|/Documents%20and%20Settings/bigini/Docum.../homenet2run/tcpip/tcp-ip-illustrated/ftp_file.htm (3 of 24) [12/09/2001 14.47.49] Chapter 27. FTP: File Transfer Protocol 4. Transmission mode. This specifies how the file is transferred across the d...
View Full Document

This test prep was uploaded on 04/04/2014 for the course ECE EL5373 taught by Professor Guoyang during the Spring '12 term at NYU Poly.

Ask a homework question - tutors are online