Difference between revisions of "File Transfer Protocol"

From FileZilla Wiki
Jump to navigationJump to search
(HLpsGmxWX)
(38 intermediate revisions by 23 users not shown)
Line 1: Line 1:
I’m a long time watcher and I just bleieved I’d drop by and say hello there for your very first time.I seriously enjoy your posts. ThanksYou are my role models. Thanks for the articlethank you for helpful tips and simply good infoi can agree with the articler u sure that is true?Not so bad. Interesting things herereally good things here, just thankshey buddy, this is a very interesting articleRead it, liked it, thanks for itI am looking for a competent writer, long time in this area. Excellent article!I have read not one article on your blog. You're a big ladThis is exactly what I was looking for, thanksThank you for your work. Article helped me a lotReally worthwhile article. Pay attentionHey, buddy, I have not figured out how to subscribeI am a long time ago I read your blog and has long been saying that you're a great writerSay  thanks  you to your parents that they gave you the worldIt's super blog, I want to be like youYou are my role models. Thanks for the articleBeautiful essay, got the pleasure of readingI found what I was looking for. great article, thanksSubscribed to your blog, thanksI can not figure out how do I subscribe to your blogThank you for what you have. This is the best post I've readI will not talk about your competence, the article simply disgustingYou just copied someone else's storyAll material copied from another sourceI'll complain that you have copied material from another sourceThis is the worst article of all, I've readYou are the worst writerThank you, this is the worst thing I've readReading this article  the gift of your timeLearn to write himself, the article from another sourceI would like to uslysht a little more on this topicI have not found what I wantedThis is a set of words, not an essay. you are incompetentif you want, I'll write you articles. Copywriter looking for workI have a few question to you, write to those I do not e-mailI can not subscribe to your channelBlog moved out in chromeHi! Your article rocks as well as being a legitimate wonderful understand!??I can??t really help but admire your blog site, your site is adorable and niceMy spouse and I stumbled over here different website and thought I should check things out.I like what I see so i am just following you. Look forward to exploring your web page yet again.There is noticeably a bundle to comprehend this. I assume you have made specific nice points in features also.Lately, I didn’t give lots of consideration to leaving feedback on blog page posts and have placed comments even much less.Reading by way of your nice content, will help me to do so sometimes.I’m a long time watcher and I just bleieved I’d drop by and say hello there for your very first time.I seriously enjoy your posts. ThanksYou are my role models. Thanks for the articlethank you for helpful tips and simply good infoi can agree with the articler u sure that is true?Not so bad. Interesting things herereally good things here, just thankshey buddy, this is a very interesting articleRead it, liked it, thanks for itI am looking for a competent writer, long time in this area. Excellent article!I have read not one article on your blog. You're a big ladThis is exactly what I was looking for, thanksThank you for your work. Article helped me a lotReally worthwhile article. Pay attentionHey, buddy, I have not figured out how to subscribeI am a long time ago I read your blog and has long been saying that you're a great writerSay  thanks  you to your parents that they gave you the worldIt's super blog, I want to be like youYou are my role models. Thanks for the articleBeautiful essay, got the pleasure of readingI found what I was looking for. great article, thanksSubscribed to your blog, thanksI can not figure out how do I subscribe to your blogThank you for what you have. This is the best post I've readI will not talk about your competence, the article simply disgustingYou just copied someone else's storyAll material copied from another sourceI'll complain that you have copied material from another sourceThis is the worst article of all, I've readYou are the worst writerThank you, this is the worst thing I've readReading this article  the gift of your timeLearn to write himself, the article from another sourceI would like to uslysht a little more on this topicI have not found what I wantedThis is a set of words, not an essay. you are incompetentif you want, I'll write you articles. Copywriter looking for workI have a few question to you, write to those I do not e-mailI can not subscribe to your channelBlog moved out in chromeHi! Your article rocks as well as being a legitimate wonderful understand!??I can??t really help but admire your blog site, your site is adorable and niceMy spouse and I stumbled over here different website and thought I should check things out.I like what I see so i am just following you. Look forward to exploring your web page yet again.There is noticeably a bundle to comprehend this. I assume you have made specific nice points in features also.Lately, I didn’t give lots of consideration to leaving feedback on blog page posts and have placed comments even much less.Reading by way of your nice content, will help me to do so sometimes.
+
'''FTP''' or '''file transfer protocol''' is a commonly used protocol for exchanging files over any network that supports the TCP/IP protocol (such as the Internet or an intranet). There are two computers involved in an FTP transfer: a server and a client. The '''FTP server''', running FTP server software, listens on the network for connection requests from other computers. The client computer, running '''FTP client''' software, initiates a connection to the server. Once connected, the client can do a number of file manipulation operations such as uploading files to the server, download files from the server, rename or delete files on the server and so on. Any software company or individual programmer is able to create FTP server or client software because the protocol is an open standard. Virtually every computer platform supports the FTP protocol. This allows any computer connected to a TCP/IP based network to manipulate files on another computer on that network regardless of which operating systems are involved (if the computers permit FTP access).
 +
 
 +
More information about FTP can be found in the [https://en.wikipedia.org/wiki/File_Transfer_Protocol Wikipedia article about FTP] or in the documents linked below.
 +
 
 +
== Technical Specifications ==
 +
 
 +
* [https://filezilla-project.org/specs/rfc0959.txt <nowiki>RFC 959</nowiki>] "FILE TRANSFER PROTOCOL"<br />This document describes the basic FTP protocol.
 +
 
 +
=== Protocol extensions ===
 +
 
 +
* [https://filezilla-project.org/specs/rfc1579.txt RFC <b></b>1579] "Firewall-Friendly FTP"<br />Describes the rarely-used APSV command.
 +
* [https://filezilla-project.org/specs/rfc2228.txt RFC <b></b>2228] "FTP Security Extensions"<br />This document describes the mechanism to use different authentication and encryption schemes using commands like AUTH, PROT and related new commands.
 +
* [https://filezilla-project.org/specs/rfc2389.txt RFC <b></b>2389] "Feature negotiation mechanism for the File Transfer Protocol"<br />Describes the FEAT command to detect available protocol extensions and the OPTS command to change the behaviour of some features.
 +
* [https://filezilla-project.org/specs/rfc2428.txt RFC <b></b>2428] "FTP Extensions for IPv6 and NATs"<br />This RFC makes the FTP protocol ready for IPv6
 +
* [https://filezilla-project.org/specs/rfc2640.txt RFC <b></b>2640] "Internationalization of the File Transfer Protocol"<br />Describes the use of UTF-8 encoding for filenames. Since the original FTP standard did only allow 7-bit US-ASCII as encoding, this extension is fully backwards compatible. However, a few servers and clients are wrongly assuming the local encoding is used for the FTP protocol. Thus this extension seemingly creates incompatibilities where there in fact are none.
 +
* [https://filezilla-project.org/specs/rfc4217.txt RFC <b></b>4217] "Securing FTP with TLS"<br />This RFC describes how to secure the FTP with TLS by using the commands introduced in RFC 2228. It should be noted, that this RFC for the most part also applies to the deprecated FTP over SSL. See [[TLS specifications]] for further information.
 +
* [https://filezilla-project.org/specs/rfc3659.txt RFC <b></b> 3659] This RFC introduces the MLS* family of commands for a machine parsable directory listing format. It also clarifies the use of REST and introduces a specified way to present the server's directory structure using TVFS (Trivial Virtual File Store). In addition, it introduces the SIZE and MDTM commands. It makes it very clear, that the MDTM command should only be used to get the timestamp of a file and should not be used to set the timestamp, as that would add ambiguity.
 +
 
 +
==== Drafts ====
 +
* [https://filezilla-project.org/specs/draft-preston-ftpext-deflate-04.txt IETF Draft for deflate compression]<br />This document describes a method to compress the transfer channel using the deflate compression algorithm. For that, it introduces the "MODE Z" command.
 +
* [https://filezilla-project.org/specs/eplf.html EPLF specification] "Easily Parsed LIST Format"<br />Describes a machine parsable directory listing format.
 +
* [https://filezilla-project.org/specs/draft-somers-ftp-mfxx-04.txt The 'MFxx' Command Extensions for FTP]. This IETF draft describes the MFMT command to change the file modification time.
 +
* [https://filezilla-project.org/specs/draft-peterson-streamlined-ftp-command-extensions-10.txt Streamlined FTP Command Extensions]. This IETF draft describes various new commands of which the RMDA command is the most useful.
 +
 
 +
=== Additional documents ===
 +
 
 +
* [https://filezilla-project.org/specs/rfc0854.txt <nowiki>RFC 854</nowiki>] "TELNET PROTOCOL SPECIFICATION"<br />The FTP protocol is implemented on top of Telnet which is specified in this document. Especially the specification of the NVT (Network Virtual Terminal) is of importance.
 +
* [https://filezilla-project.org/specs/rfc1123.txt RFC <b></b>1123] "Requirements for Internet Hosts -- Application and Support"<br />This RFC gives additional requirements and suggestions for FTP implementations to improve interoperability.
 +
* [https://filezilla-project.org/specs/rfc2577.txt RFC <b></b>2577] "FTP Security Considerations"<br />This document discusses the security of the FTP protocol in general and considers things like FTP Bounce Attacks.
 +
 
 +
== See also ==
 +
 
 +
* [[TLS specifications]]
 +
* [[Other specifications]]
 +
* [[SFTP specifications]]

Revision as of 09:26, 1 May 2017

FTP or file transfer protocol is a commonly used protocol for exchanging files over any network that supports the TCP/IP protocol (such as the Internet or an intranet). There are two computers involved in an FTP transfer: a server and a client. The FTP server, running FTP server software, listens on the network for connection requests from other computers. The client computer, running FTP client software, initiates a connection to the server. Once connected, the client can do a number of file manipulation operations such as uploading files to the server, download files from the server, rename or delete files on the server and so on. Any software company or individual programmer is able to create FTP server or client software because the protocol is an open standard. Virtually every computer platform supports the FTP protocol. This allows any computer connected to a TCP/IP based network to manipulate files on another computer on that network regardless of which operating systems are involved (if the computers permit FTP access).

More information about FTP can be found in the Wikipedia article about FTP or in the documents linked below.

Technical Specifications

  • RFC 959 "FILE TRANSFER PROTOCOL"
    This document describes the basic FTP protocol.

Protocol extensions

  • RFC 1579 "Firewall-Friendly FTP"
    Describes the rarely-used APSV command.
  • RFC 2228 "FTP Security Extensions"
    This document describes the mechanism to use different authentication and encryption schemes using commands like AUTH, PROT and related new commands.
  • RFC 2389 "Feature negotiation mechanism for the File Transfer Protocol"
    Describes the FEAT command to detect available protocol extensions and the OPTS command to change the behaviour of some features.
  • RFC 2428 "FTP Extensions for IPv6 and NATs"
    This RFC makes the FTP protocol ready for IPv6
  • RFC 2640 "Internationalization of the File Transfer Protocol"
    Describes the use of UTF-8 encoding for filenames. Since the original FTP standard did only allow 7-bit US-ASCII as encoding, this extension is fully backwards compatible. However, a few servers and clients are wrongly assuming the local encoding is used for the FTP protocol. Thus this extension seemingly creates incompatibilities where there in fact are none.
  • RFC 4217 "Securing FTP with TLS"
    This RFC describes how to secure the FTP with TLS by using the commands introduced in RFC 2228. It should be noted, that this RFC for the most part also applies to the deprecated FTP over SSL. See TLS specifications for further information.
  • RFC 3659 This RFC introduces the MLS* family of commands for a machine parsable directory listing format. It also clarifies the use of REST and introduces a specified way to present the server's directory structure using TVFS (Trivial Virtual File Store). In addition, it introduces the SIZE and MDTM commands. It makes it very clear, that the MDTM command should only be used to get the timestamp of a file and should not be used to set the timestamp, as that would add ambiguity.

Drafts

Additional documents

  • RFC 854 "TELNET PROTOCOL SPECIFICATION"
    The FTP protocol is implemented on top of Telnet which is specified in this document. Especially the specification of the NVT (Network Virtual Terminal) is of importance.
  • RFC 1123 "Requirements for Internet Hosts -- Application and Support"
    This RFC gives additional requirements and suggestions for FTP implementations to improve interoperability.
  • RFC 2577 "FTP Security Considerations"
    This document discusses the security of the FTP protocol in general and considers things like FTP Bounce Attacks.

See also