1========================
2pyftpdlib RFC compliance
3========================
4
5.. contents:: Table of Contents
6
7Introduction
8============
9
10This page lists current standard Internet RFCs that define the FTP protocol.
11
12pyftpdlib conforms to the FTP protocol standard as defined in `RFC-959 <http://www.ietf.org/rfc/rfc959.txt>`__ and `RFC-1123 <http://www.ietf.org/rfc/rfc1123.txt>`__ implementing all the fundamental commands and features described in them. It also implements some more recent features such as OPTS and FEAT commands (`RFC-2398 <http://www.ietf.org/rfc/rfc2389.txt>`__), EPRT and EPSV commands covering the IPv6 support (`RFC-2428 <ftp://ftp.rfc-editor.org/in-notes/rfc2428.txt>`__) and MDTM, MLSD, MLST and SIZE commands defined in `RFC-3659 <http://www.ietf.org/rfc/rfc3659.txt>`__.
13
14Future plans for pyftpdlib include the gradual implementation of other standards track RFCs.
15
16Some of the features like ACCT or SMNT commands will never be implemented deliberately. Other features described in more recent RFCs like the TLS/SSL support for securing FTP (`RFC-4217 <http://www.ietf.org/rfc/rfc4217.txt>`__) are now implemented as a `demo script <https://github.com/giampaolo/pyftpdlib/blob/master/demo/tls_ftpd.py>`__, waiting to reach the proper level of stability to be then included in the standard code base.
17
18RFC-959 - File Transfer Protocol
19================================
20
21The base specification of the current File Transfer Protocol.
22
23- Issued: October 1985
24- Status: STANDARD
25- Obsoletes: `RFC-765 <http://www.ietf.org/rfc/rfc765.txt>`__
26- Updated by: `RFC-1123 <http://www.ietf.org/rfc/rfc1123.txt>`__, `RFC-2228 <http://www.ietf.org/rfc/rfc2228.txt>`__, `RFC-2640 <http://www.ietf.org/rfc/rfc2640.txt>`__, `RFC-2773 <http://www.ietf.org/rfc/rfc2773.txt>`__
27- `Link <http://www.ietf.org/rfc/rfc959.txt>`__
28
29+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
30| *Command* | *Implemented* | *Milestone* | *Description*                                    | *Notes*                                                                                                                                                                                                        |
31+===========+===============+=============+==================================================+================================================================================================================================================================================================================+
32| ABOR      | YES           | 0.1.0       | Abort data transfer.                             |                                                                                                                                                                                                                |
33+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
34| ACCT      | NO            | ---         | Specify account information.                     | It will never be implemented (useless).                                                                                                                                                                        |
35+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
36| ALLO      | YES           | 0.1.0       | Ask for server to allocate enough storage space. | Treated as a NOOP (no operation).                                                                                                                                                                              |
37+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
38| APPE      | YES           | 0.1.0       | Append data to an existing file.                 |                                                                                                                                                                                                                |
39+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
40| CDUP      | YES           | 0.1.0       | Go to parent directory.                          |                                                                                                                                                                                                                |
41+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
42| CWD       | YES           | 0.1.0       | Change current working directory.                |                                                                                                                                                                                                                |
43+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
44| DELE      | YES           | 0.1.0       | Delete file.                                     |                                                                                                                                                                                                                |
45+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
46| HELP      | YES           | 0.1.0       | Show help.                                       | Accept also arguments.                                                                                                                                                                                         |
47+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
48| LIST      | YES           | 0.1.0       | List files.                                      | Accept also bad arguments like "-ls", "-la", ...                                                                                                                                                               |
49+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
50| MKD       | YES           | 0.1.0       | Create directory.                                |                                                                                                                                                                                                                |
51+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
52| MODE      | YES           | 0.1.0       | Set data transfer mode.                          | "STREAM" mode is supported, "Block" and "Compressed" aren't.                                                                                                                                                   |
53+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
54| NLST      | YES           | 0.1.0       | List files in a compact form.                    | Globbing of wildcards is not supported (for example, ``NLST *.txt`` will not work)                                                                                                                             |
55+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
56| NOOP      | YES           | 0.1.0       | NOOP (no operation), just do nothing.            |                                                                                                                                                                                                                |
57+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
58| PASS      | YES           | 0.1.0       | Set user password.                               |                                                                                                                                                                                                                |
59+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
60| PASV      | YES           | 0.1.0       | Set server in passive connection mode.           |                                                                                                                                                                                                                |
61+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
62| PORT      | YES           | 0.1.0       | Set server in active connection mode.            |                                                                                                                                                                                                                |
63+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
64| PWD       | YES           | 0.1.0       | Get current working directory.                   |                                                                                                                                                                                                                |
65+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
66| QUIT      | YES           | 0.1.0       | Quit session.                                    | If file transfer is in progress, the connection will remain open until it is finished.                                                                                                                         |
67+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
68| REIN      | YES           | 0.1.0       | Reinitialize user's current session.             |                                                                                                                                                                                                                |
69+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
70| REST      | YES           | 0.1.0       | Restart file position.                           |                                                                                                                                                                                                                |
71+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
72| RETR      | YES           | 0.1.0       | Retrieve a file (client's download).             |                                                                                                                                                                                                                |
73+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
74| RMD       | YES           | 0.1.0       | Remove directory.                                |                                                                                                                                                                                                                |
75+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
76| RNFR      | YES           | 0.1.0       | File renaming (source)                           |                                                                                                                                                                                                                |
77+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
78| RNTO      | YES           | 0.1.0       | File renaming (destination)                      |                                                                                                                                                                                                                |
79+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
80| SITE      | YES           | 0.5.1       | Site specific server services.                   | No SITE commands aside from "SITE HELP" are implemented by default.  The user willing to add support for a specific SITE command has to define a new ``ftp_SITE_CMD`` method in the ``FTPHandler`` subclass.   |
81+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
82| SMNT      | NO            | ---         | Mount file-system structure.                     | Will never be implemented (too much system-dependent and almost never used).                                                                                                                                   |
83+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
84| STAT      | YES           | 0.1.0       | Server's status information / File LIST          |                                                                                                                                                                                                                |
85+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
86| STOR      | YES           | 0.1.0       | Store a file (client's upload).                  |                                                                                                                                                                                                                |
87+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
88| STOU      | YES           | 0.1.0       | Store a file with a unique name.                 |                                                                                                                                                                                                                |
89+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
90| STRU      | YES           | 0.1.0       | Set file structure.                              | Supports only File type structure by doing a NOOP (no operation). Other structure types (Record and Page) are not implemented.                                                                                 |
91+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
92| SYST      | YES           | 0.1.0       | Get system type.                                 | Always return "UNIX Type: L8" because of the LIST output provided.                                                                                                                                             |
93+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
94| TYPE      | YES           | 0.1.0       | Set current type (Binary/ASCII).                 | Accept only Binary and ASII TYPEs. Other TYPEs such as EBCDIC are obsoleted, system-dependent and thus not implemented.                                                                                        |
95+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
96| USER      | YES           | 0.1.0       | Set user.                                        | A new USER command could be entered at any point in order to change the access control flushing any user, password, and account information already supplied and beginning the login sequence again.           |
97+-----------+---------------+-------------+--------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
98
99RFC-1123 - Requirements for Internet Hosts
100==========================================
101
102Extends and clarifies some aspects of `RFC-959 <http://www.ietf.org/rfc/rfc959.txt>`__. Introduces new response codes 554 and 555.
103
104- Issued: October 1989
105- Status: STANDARD
106- `Link <http://www.ietf.org/rfc/rfc1123.txt>`__
107
108+--------------------------------------+---------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------+
109| *Feature*                            | *Implemented* | *Milestone* | *Description*                                                                                                                                                                                                                                      | *Notes*                                                                               |
110+======================================+===============+=============+====================================================================================================================================================================================================================================================+=======================================================================================+
111| TYPE L 8 as synonym of TYPE I        | YES           | 0.2.0       | TYPE L 8 command should be treated as synonym of TYPE I ("IMAGE" or binary type).                                                                                                                                                                  |                                                                                       |
112+--------------------------------------+---------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------+
113| PASV is per-transfer                 | YES           | 0.1.0       | PASV must be used for a unique transfer.                                                                                                                                                                                                           | If PASV is issued twice data-channel is restarted.                                    |
114+--------------------------------------+---------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------+
115| Implied type for LIST and NLST       | YES           | 0.1.0       | The data returned by a LIST or NLST command SHOULD use an implied TYPE AN.                                                                                                                                                                         |                                                                                       |
116+--------------------------------------+---------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------+
117| STOU format output                   | YES           | 0.2.0       | Defined the exact format output which STOU response must respect ("125/150 FILE filename").                                                                                                                                                        |                                                                                       |
118+--------------------------------------+---------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------+
119| Avoid 250 response type on STOU      | YES           | 0.2.0       | The 250 positive response indicated in `RFC-959 <http://www.ietf.org/rfc/rfc959.txt>`__ has been declared incorrect in `RFC-1123 <http://www.ietf.org/rfc/rfc1123.txt>`__ which requires 125/150 instead.                                          |                                                                                       |
120+--------------------------------------+---------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------+
121| Handle "Experimental" directory cmds | YES           | 0.1.0       | The server should support XCUP, XCWD, XMKD, XPWD and XRMD obsoleted commands and treat them as synonyms for CDUP, CWD, MKD, LIST and RMD commands.                                                                                                 |                                                                                       |
122+--------------------------------------+---------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------+
123| Idle timeout                         | YES           | 0.5.0       | A Server-FTP process SHOULD have a configurable  idle timeout of 5 minutes, which will terminate the process and close the control connection if the server is inactive (i.e., no command or data transfer in progress) for a long period of time. |                                                                                       |
124+--------------------------------------+---------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------+
125| Concurrency of data and control      | YES           | 0.1.0       | Server-FTP should be able to process STAT or ABOR while a data transfer is in progress                                                                                                                                                             | Feature granted natively for ALL commands since we're in an asynchronous environment. |
126+--------------------------------------+---------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------+
127| 554 response on wrong REST           | YES           | 0.2.0       | Return a 554 reply may for a command that follows a REST command.  The reply indicates that the existing file at the Server-FTP cannot be repositioned as specified in the REST.                                                                   |                                                                                       |
128+--------------------------------------+---------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------+
129
130RFC-2228 - FTP Security Extensions
131==================================
132
133Specifies several security extensions to the base FTP protocol defined in `RFC-959 <http://www.ietf.org/rfc/rfc959.txt>`__. New commands: AUTH, ADAT, PROT, PBSZ, CCC, MIC, CONF, and ENC. New response codes: 232, 234, 235, 334, 335, 336, 431, 533, 534, 535, 536, 537, 631, 632, and 633.
134
135- Issued: October 1997
136- Status: PROPOSED STANDARD
137- Updates: `RFC-959 <http://www.ietf.org/rfc/rfc959.txt>`__
138- `Link <http://www.ietf.org/rfc/rfc2228.txt>`__
139
140+-----------+---------------+-------------+------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
141| *Command* | *Implemented* | *Milestone* | *Description*                      | *Notes*                                                                                                                                                                                                                            |
142+===========+===============+=============+====================================+====================================================================================================================================================================================================================================+
143| AUTH      | NO            | ---         | Authentication/Security Mechanism. | Implemented as `demo script <https://github.com/giampaolo/pyftpdlib/blob/master/demo/tls_ftpd.py>`__ by following the `RFC=4217 <http://www.ietf.org/rfc/rfc4217.txt>`__ guide line.                                               |
144+-----------+---------------+-------------+------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
145| CCC       | NO            | ---         | Clear Command Channel.             |                                                                                                                                                                                                                                    |
146+-----------+---------------+-------------+------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
147| CONF      | NO            | ---         | Confidentiality Protected Command. | Somewhat obsoleted by `RFC-4217 <http://www.ietf.org/rfc/rfc4217.txt>`__.                                                                                                                                                          |
148+-----------+---------------+-------------+------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
149| EENC      | NO            | ---         | Privacy Protected Command.         | Somewhat obsoleted by `RFC-4217 <http://www.ietf.org/rfc/rfc4217.txt>`__.                                                                                                                                                          |
150+-----------+---------------+-------------+------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
151| MIC       | NO            | ---         | Integrity Protected Command.       | Somewhat obsoleted by `RFC-4217 <http://www.ietf.org/rfc/rfc4217.txt>`__.                                                                                                                                                          |
152+-----------+---------------+-------------+------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
153| PBSZ      | NO            | ---         | Protection Buffer Size.            | Implemented as `demo script <https://github.com/giampaolo/pyftpdlib/blob/master/demo/tls_ftpd.py>`__ by following the `RFC-4217 <http://www.ietf.org/rfc/rfc4217.txt>`__ guide line as a no-op command.                            |
154+-----------+---------------+-------------+------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
155| PROT      | NO            | ---         | Data Channel Protection Level.     | Implemented as `demo script <https://github.com/giampaolo/pyftpdlib/blob/master/demo/tls_ftpd.py>`__ by following the `RFC-4217 <http://www.ietf.org/rfc/rfc4217.txt>`__ guide line supporting only "P" and "C" protection levels. |
156+-----------+---------------+-------------+------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
157
158RFC-2389 - Feature negotiation mechanism for the File Transfer Protocol
159=======================================================================
160
161Introduces the new FEAT and OPTS commands.
162
163- Issued: August 1998
164- Status: PROPOSED STANDARD
165- `Link <http://www.ietf.org/rfc/rfc2389.txt>`__
166
167+-----------+---------------+-------------+-----------------------------------------------------------------------------------------+---------------------------------------------------------+
168| *Command* | *Implemented* | *Milestone* | *Description*                                                                           | *Notes*                                                 |
169+===========+===============+=============+=========================================================================================+=========================================================+
170| FEAT      | YES           | 0.3.0       | List new supported commands subsequent `RFC-959 <http://www.ietf.org/rfc/rfc959.txt>`__ |                                                         |
171+-----------+---------------+-------------+-----------------------------------------------------------------------------------------+---------------------------------------------------------+
172| OPTS      | YES           | 0.3.0       | Set options for certain commands.                                                       | MLST is the only command which could be used with OPTS. |
173+-----------+---------------+-------------+-----------------------------------------------------------------------------------------+---------------------------------------------------------+
174
175RFC-2428 - FTP Extensions for IPv6 and NATs
176===========================================
177
178Introduces the new commands EPRT and EPSV extending FTP to enable its use over various network protocols, and the new response codes 522 and 229.
179
180- Issued: September 1998
181- Status: PROPOSED STANDARD
182- `Link <http://www.ietf.org/rfc/rfc2428.txt>`__
183
184+-----------+---------------+-------------+-----------------------------------------------+---------+
185| *Command* | *Implemented* | *Milestone* | *Description*                                 | *Notes* |
186+===========+===============+=============+===============================================+=========+
187| EPRT      | YES           | 0.4.0       | Set active data connection over IPv4 or IPv6  |         |
188+-----------+---------------+-------------+-----------------------------------------------+---------+
189| EPSV      | YES           | 0.4.0       | Set passive data connection over IPv4 or IPv6 |         |
190+-----------+---------------+-------------+-----------------------------------------------+---------+
191
192RFC-2577 - FTP Security Considerations
193======================================
194
195Provides several configuration and implementation suggestions to mitigate some security concerns, including limiting failed password attempts and third-party "proxy FTP" transfers, which can be used in "bounce attacks".
196
197- Issued: May 1999
198- Status: INFORMATIONAL
199- `Link <http://www.ietf.org/rfc/rfc2577.txt>`__
200
201+--------------------------------------------+---------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------+---------------+
202| *Feature*                                  | *Implemented* | *Milestone* | *Description*                                                                                                                             | *Notes*       |
203+============================================+===============+=============+===========================================================================================================================================+===============+
204| FTP bounce protection                      | YES           | 0.2.0       | Reject PORT if IP address specified in it does not match client IP address. Drop the incoming (PASV) data connection for the same reason. | Configurable. |
205+--------------------------------------------+---------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------+---------------+
206| Restrict PASV/PORT to non privileged ports | YES           | 0.2.0       | Reject connections to privileged ports.                                                                                                   | Configurable. |
207+--------------------------------------------+---------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------+---------------+
208| Brute force protection (1)                 | YES           | 0.1.0       | Disconnect client after a certain number (3 or 5) of wrong authentications.                                                               | Configurable. |
209+--------------------------------------------+---------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------+---------------+
210| Brute force protection (2)                 | YES           | 0.5.0       | Impose a 5 second delay before replying to an invalid "PASS" command to diminish the efficiency of a brute force attack.                  |               |
211+--------------------------------------------+---------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------+---------------+
212| Per-source-IP limit                        | YES           | 0.2.0       | Limit the total number of per-ip control connections to avoid parallel brute-force attack attempts.                                       | Configurable. |
213+--------------------------------------------+---------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------+---------------+
214| Do not reject wrong usernames              | YES           | 0.1.0       | Always return 331 to the USER command to prevent client from determining valid usernames on the server.                                   |               |
215+--------------------------------------------+---------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------+---------------+
216| Port stealing protection                   | YES           | 0.1.1       | Use random-assigned local ports for data connections.                                                                                     |               |
217+--------------------------------------------+---------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------+---------------+
218
219RFC-2640 - Internationalization of the File Transfer Protocol
220=============================================================
221
222Extends the FTP protocol to support multiple character sets, in addition to the original 7-bit ASCII. Introduces the new LANG command.
223
224- Issued: July 1999
225- Status: PROPOSED STANDARD
226- Updates: `RFC-959 <http://www.ietf.org/rfc/rfc959.txt>`__
227- `Link <http://www.ietf.org/rfc/rfc2640.txt>`__
228
229+----------------------+---------------+-------------+-------------------------------------------------------------------------------------------------------------------------------+---------+
230| *Feature*            | *Implemented* | *Milestone* | *Description*                                                                                                                 | *Notes* |
231+======================+===============+=============+===============================================================================================================================+=========+
232| LANG command         | NO            | ---         | Set current response's language.                                                                                              |         |
233+----------------------+---------------+-------------+-------------------------------------------------------------------------------------------------------------------------------+---------+
234| Support for UNICODE  | YES           | 1.0.0       | For support of global compatibility it is rencommended that clients and servers use UTF-8 encoding when exchanging pathnames. |         |
235+----------------------+---------------+-------------+-------------------------------------------------------------------------------------------------------------------------------+---------+
236
237RFC-3659 - Extensions to FTP
238============================
239
240Four new commands are added: "SIZE", "MDTM", "MLST", and "MLSD".  The existing command "REST" is modified.
241
242- Issued: March 2007
243- Status: PROPOSED STANDARD
244- Updates: `RFC-959 <http://www.ietf.org/rfc/rfc959.txt>`__
245- `Link <http://www.ietf.org/rfc/rfc3659.txt>`__
246
247+------------------------------------+---------------+-------------+------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------+
248| *Feature*                          | *Implemented* | *Milestone* | *Description*                                                                                                                            | *Notes*                                                                                                             |
249+====================================+===============+=============+==========================================================================================================================================+=====================================================================================================================+
250| MDTM command                       | YES           | 0.1.0       | Get file's last modification time                                                                                                        |                                                                                                                     |
251+------------------------------------+---------------+-------------+------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------+
252| MLSD command                       | YES           | 0.3.0       | Get directory list in a standardized form.                                                                                               |                                                                                                                     |
253+------------------------------------+---------------+-------------+------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------+
254| MLST command                       | YES           | 0.3.0       | Get file information in a standardized form.                                                                                             |                                                                                                                     |
255+------------------------------------+---------------+-------------+------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------+
256| SIZE command                       | YES           | 0.1.0       | Get file size.                                                                                                                           | In case of ASCII TYPE it does not perform the ASCII conversion to avoid DoS conditions (see FAQs for more details). |
257+------------------------------------+---------------+-------------+------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------+
258| TVSF mechanism                     | YES           | 0.1.0       | Provide a file system naming conventions modeled loosely upon those of the Unix file system supporting relative and absolute path names. |                                                                                                                     |
259+------------------------------------+---------------+-------------+------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------+
260| Minimum required set of MLST facts | YES           | 0.3.0       | If conceivably possible, support at least the type, perm, size, unique, and modify MLSX command facts.                                   |                                                                                                                     |
261+------------------------------------+---------------+-------------+------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------+
262| GMT should be used for timestamps  | YES           | 0.6.0       | All times reported by MDTM, LIST, MLSD and MLST commands must be in GMT times                                                            | Possibility to change time display between GMT and local time provided as "use_gmt_times" attribute                 |
263+------------------------------------+---------------+-------------+------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------+
264
265RFC-4217 - Securing FTP with TLS
266================================
267
268Provides a description on how to implement TLS as a security mechanism to secure FTP clients and/or servers.
269
270- Issued: October 2005
271- Status: STANDARD
272- Updates: `RFC-959 <http://www.ietf.org/rfc/rfc959.txt>`__, `RFC-2246 <http://www.ietf.org/rfc/rfc2246.txt>`__, `RFC-2228 <http://www.ietf.org/rfc/rfc2228.txt>`__
273- `Link <http://www.ietf.org/rfc/rfc4217.txt>`__
274
275+-----------+---------------+-------------+------------------------------------+---------------------------------------------+
276| *Command* | *Implemented* | *Milestone* | *Description*                      | *Notes*                                     |
277+===========+===============+=============+====================================+=============================================+
278| AUTH      | YES           | ---         | Authentication/Security Mechanism. |                                             |
279+-----------+---------------+-------------+------------------------------------+---------------------------------------------+
280| CCC       | NO            | ---         | Clear Command Channel.             |                                             |
281+-----------+---------------+-------------+------------------------------------+---------------------------------------------+
282| PBSZ      | YES           | ---         | Protection Buffer Size.            | Implemented as as a no-op as recommended.   |
283+-----------+---------------+-------------+------------------------------------+---------------------------------------------+
284| PROT      | YES           | ---         | Data Channel Protection Level.     | Support only "P" and "C" protection levels. |
285+-----------+---------------+-------------+------------------------------------+---------------------------------------------+
286
287Unofficial commands
288===================
289
290These are commands not officialy included in any RFC but many FTP servers implement them.
291
292+------------+---------------+-------------+-------------------+---------+
293| *Command*  | *Implemented* | *Milestone* | *Description*     | *Notes* |
294+============+===============+=============+===================+=========+
295| SITE CHMOD | YES           | 0.7.0       | Change file mode. |         |
296+------------+---------------+-------------+-------------------+---------+
297