Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
File Transfer Protocol
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Data types=== While transferring data over the network, five data types are defined:<ref name="tcpip" /><ref name="net+" /><ref name="clark" /> * [[ASCII]] (TYPE A): Used for text. Data is converted, if needed, from the sending host's character representation to [[Extended ASCII|"8-bit ASCII"]] before transmission, and (again, if necessary) to the receiving host's character representation, including [[newline]]s. As a consequence, this mode is inappropriate for files that contain data other than ASCII. * Image (TYPE I, commonly called [[Binary data|Binary]] mode): The sending machine sends each file [[byte]] by byte, and the recipient stores the [[bytestream]] as it receives it. (Image mode support has been recommended for all implementations of FTP). * [[EBCDIC]] (TYPE E): Used for plain text between hosts using the EBCDIC character set. * Local (TYPE L ''n''): Designed to support file transfer between machines which do not use 8-bit bytes, e.g. [[36-bit computing|36-bit systems]] such as DEC [[PDP-10]]s. For example, "TYPE L 9" would be used to transfer data in 9-bit bytes, or "TYPE L 36" to transfer 36-bit words. Most contemporary FTP clients/servers only support L 8, which is equivalent to I. * [[Unicode]] text files using [[UTF-8]] (TYPE U): defined in an expired [[Internet Draft]]<ref>{{Cite IETF|last=Klensin|first=John|title=FTP TYPE Extension for Internationalized Text|draft=draft-klensin-ftpext-typeu-00|access-date=2020-06-09}}</ref> which never became an RFC, though it has been implemented by several FTP clients/servers. Note these data types are commonly called "modes", although ambiguously that word is also used to refer to active-vs-passive communication mode (see above), and the modes set by the FTP protocol MODE command (see below). For text files (TYPE A and TYPE E), three different format control options are provided, to control how the file would be printed: * Non-print (TYPE A N and TYPE E N) β the file does not contain any carriage control characters intended for a printer * [[Telnet]] (TYPE A T and TYPE E T) β the file contains Telnet (or in other words, ASCII C0) carriage control characters (CR, LF, etc) * [[ASA carriage control characters|ASA]] (TYPE A A and TYPE E A) β the file contains ASA carriage control characters These formats were mainly relevant to [[line printer]]s; most contemporary FTP clients/servers only support the default format control of N.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
File Transfer Protocol
(section)
Add topic