FACTOID # 18: Sick of crowds? Move to Greenland! Greenlanders have 38 square kilometres of land per person.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > RFC 0959
This page is about the File Transfer Protocol, a computer protocol. See Federal Theater Project for the US New Deal project.
Internet protocol suite   edit  (http://en.wikipedia.org/w/index.php?title=Template:IPstack&action=edit)
Application layer HTTP, SMTP, FTP, SSH, IRC, SNMP, SIP ...
Transport layer TCP, UDP, SCTP, RTP, DCCP ...
Network layer IPv4, IPv6, ARP, ICMP ...
Data link layer Ethernet, 802.11a/b/g WiFi , Token ring, FDDI, ...

The File Transfer Protocol (FTP) is a software standard for transferring computer files between machines with widely different operating systems. It belongs to the application layer of the Internet protocol suite.


FTP is an 8-bit client-server protocol, capable of handling any type of file without further processing, such as MIME or Uuencode. However, FTP has extremely high latency; that is, the time between beginning the request and starting to receive the required data can be quite long, and a sometimes-lengthy login procedure is required.

Contents

Overview

FTP is commonly run on two ports, 20 and 21. Port 20 is a data stream which transfers the data between the client and the server. Port 21 is the control stream and is the port where commands are passed to the ftp server. While data is being transferred via the data stream, the control stream sits idle. This can cause problems with large data transfers through firewalls which time out sessions after lengthy periods of idleness. While the file may well be successfully transferred, the control session can be disconnected by the firewall, causing an error to be generated.


The objectives of FTP are:

  1. To promote sharing of files (computer programs and/or data).
  2. To encourage indirect or implicit use of remote computers.
  3. To shield a user from variations in file storage systems among different hosts.
  4. To transfer data reliably and efficiently.

Disadvantages are:

  1. Passwords and file contents are sent in clear text, which can be intercepted by eavesdroppers.
  2. Multiple TCP/IP connections are used, one for the control connection, and one for each download, upload, or directory listing. Firewall software needs additional logic to account for these connections.
  3. It is hard to filter active mode FTP traffic on the client side by using a firewall, since the client must open an arbitrary port in order to receive the connection. This problem is largely resolved by using passive mode FTP.
  4. It is possible to abuse the protocol's built-in proxy features to tell a server to send data to an arbitrary port of a third computer.

FTP, though usable directly by a user at a terminal, is designed mainly for use by FTP client programs.


Many sites that run FTP servers enable so-called "anonymous ftp". Under this arrangement, users do not need an account on the server. By default, the account name for the anonymous access is 'anonymous'. This account does not need a password. Although users are commonly asked to send their email addresses as their passwords for authentication, usually there is trivial or no verification, depending on the FTP server and its configuration.


FTP and web browsers

Most recent web browsers and file managers can connect to FTP servers. This allows manipulation of remote files over FTP through an interface similar to that used for local files. This is done via an FTP URL, which takes the form ftp://<ftpserveraddress>  (e.g., ftp://ftp.gimp.org/). A password can optionally be given in the URL, e.g.:   ftp://<login>:<password>@<ftpserveraddress>. Most web-browsers require the use of passive mode FTP, which not all FTP servers are capable of handling.


References

The protocol is standardized in RFC 0959 by the IETF as:

  • RFC 0959 File Transfer Protocol (FTP). J. Postel, J. Reynolds. Oct-1985. (Format: TXT, 147316 bytes at http://www.ietf.org/rfc/rfc959.txt ) This obsoleted the preceding RFC 765 and earlier FTP RFCs back to the original RFC 114.

See also

External links

  • NcFTP Client (http://www.ncftp.com/) a free FTP client program with a command-line interface that has been maintained since 1990.
Enlarge
FileZilla 2.2.1b FTP client on Windows 2000
  • Filezilla (http://filezilla.sourceforge.net/) a freely distributable GPL licensed FTP client for Windows.
  • Cyberduck (http://cyberduck.ch/) a freely distributable GPL licensed FTP/SFTP client for Mac OS X.
  • FTP Tutorial (http://www.tombraider4u.com/ftptutorial.shtml) Basic commands
  • 01FTP.com - web based FTP (http://01ftp.com/) website that acts as a FTP client.
  • RFC 0959 File Transfer Protocol (FTP). J. Postel, J. Reynolds. Oct-1985. (http://www.ietf.org/rfc/rfc959.txt)
  • An Overview of the File Transfer Protocol (http://www.ncftp.com/libncftp/doc/ftp_overview.html) explains how the FTP works at the protocol level.
  • The FTP and Your Firewall (http://www.ncftp.com/ncftpd/doc/misc/ftp_and_firewalls.html) details FTP's problems with firewalls and how to deal with them.
  • Tutorials for Beginning Computer Users: Introduction to the File Transfer Protocol (FTP) (http://www.bleepingcomputer.com/forums/tutorial46.html)
  • Active vs. Passive FTP explained and illustrated  (http://slacksite.com/other/ftp.html)

  Results from FactBites:
 
RFC 0959 - (14407 words)
RFC 959 October 1985 File Transfer Protocol When the data reaches the receiving host, it will be transformed in a manner dependent on the logical byte size and the particular host.
RFC 959 October 1985 File Transfer Protocol is when the user-DTP is sending the data in a transfer mode that requires the connection to be closed to indicate EOF.
RFC 959 October 1985 File Transfer Protocol In the first case, the server closes the data connection (if it is open) and responds with a 226 reply, indicating that the abort command was successfully processed.
RFC 959 [rfc959 - HTML version] - FILE TRANSFER PROTOCOL (FTP) (15054 words)
RFC 385 further commented on errors, emphasis points, and additions to the protocol, while RFC 414 provided a status report on the working server and user FTPs.
RFC 542 was published as a new "official" specification to reflect these changes.
RFC 691 presented a minor revision of RFC 686, regarding the subject of print files.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.