supported-ftp-commands
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
supported-ftp-commands [2018/06/08 20:36] – created kingk | supported-ftp-commands [2024/04/21 20:38] (current) – kingk | ||
---|---|---|---|
Line 1: | Line 1: | ||
**Supported FTP commands** | **Supported FTP commands** | ||
+ | |||
uFTP server supports the commands specified in this document. | uFTP server supports the commands specified in this document. | ||
**USER** [username] | **USER** [username] | ||
+ | |||
USER followed by username string argument is the command required to login as the specified [username]. | USER followed by username string argument is the command required to login as the specified [username]. | ||
**PASS** | **PASS** | ||
+ | |||
PASS followed by password string argument, is the command that must be sent after the USER command to complete the authentication procedure with the username and password pair associated to the FTP account. | PASS followed by password string argument, is the command that must be sent after the USER command to complete the authentication procedure with the username and password pair associated to the FTP account. | ||
**AUTH** | **AUTH** | ||
+ | |||
Not yet implemented, | Not yet implemented, | ||
**PWD** | **PWD** | ||
+ | |||
PWD returns to the client the directory path where the user is logged in. | PWD returns to the client the directory path where the user is logged in. | ||
**SYST** | **SYST** | ||
+ | |||
SYST returns to the client information about the remote system. | SYST returns to the client information about the remote system. | ||
**FEAT** | **FEAT** | ||
+ | |||
FEAT commands returns the FTP supported options. | FEAT commands returns the FTP supported options. | ||
- | **TypeA**, **TypeI**, **StruF**, **ModeS** | + | |
+ | **OPTS** | ||
+ | |||
+ | OPTS commands returns other FTP supported options. | ||
+ | |||
+ | **TYPE A**, **TYPE I**, **TYPE F**, **TYPE S** | ||
Dummy command implementation, | Dummy command implementation, | ||
+ | |||
+ | **ESPV** | ||
+ | |||
+ | uFTP server opens a socket for the extended passive connection mechanism mode, it returns only the port without the address. | ||
**PASV** | **PASV** | ||
- | The FTP server opens a socket for the passive connection mechanism mode. | + | |
+ | uFTP server opens a socket for the passive connection mechanism mode. | ||
**PORT** | **PORT** | ||
+ | |||
The FTP server opens a client connection to the specified PORT of the client (active mode). | The FTP server opens a client connection to the specified PORT of the client (active mode). | ||
**ABOR** | **ABOR** | ||
+ | |||
The command abort any file transfer opened with the client. | The command abort any file transfer opened with the client. | ||
**LIST [path(optional)]** | **LIST [path(optional)]** | ||
+ | |||
The FTP server sends the list of files and directories, | The FTP server sends the list of files and directories, | ||
**NLST** [path(optional)] | **NLST** [path(optional)] | ||
+ | |||
Similar to LIST command, the difference is that with NLST command all additional information of the files is not sent to the FTP client. | Similar to LIST command, the difference is that with NLST command all additional information of the files is not sent to the FTP client. | ||
+ | |||
+ | **STAT** [path] | ||
+ | |||
+ | If a path is specified it works like LIST command, with the difference that data is sent to the primary socket. | ||
+ | If no arguments are specified it returns some basic status of the active connection. | ||
+ | |||
**RETR** [path] | **RETR** [path] | ||
+ | |||
The FTP client can request a file download from the specified path. | The FTP client can request a file download from the specified path. | ||
**STOR** [path] | **STOR** [path] | ||
+ | |||
The FTP client can request a file upload at the specified path. | The FTP client can request a file upload at the specified path. | ||
**CWD** [path] | **CWD** [path] | ||
+ | |||
The FTP client can change the current working directory with the specified path. | The FTP client can change the current working directory with the specified path. | ||
+ | |||
+ | **REST** [byte offset] | ||
+ | |||
+ | The FTP client can restart a download at the specified byte offset. | ||
+ | |||
+ | **MKD** [directory path] | ||
+ | |||
+ | Create a directory at the specified path. | ||
+ | |||
+ | **DELE** [path] | ||
+ | |||
+ | Delete the path specified as argument. | ||
+ | |||
+ | |||
+ | **RMD** [directory path] | ||
+ | |||
+ | Delete the directory specified in the path. | ||
+ | |||
+ | |||
+ | **NOOP** | ||
+ | |||
+ | Do nothing, this command is used by the client to keep the connection opened, uftp automatically close inactive connections. | ||
+ | |||
+ | |||
+ | **SIZE** [path] | ||
+ | |||
+ | Get the size of the inode path specified as argument. | ||
+ | |||
+ | |||
+ | **RNFR** [path] | ||
+ | |||
+ | Specify the file/ | ||
+ | |||
+ | |||
+ | **RNTO** [path] | ||
+ | |||
+ | Specify the file/ | ||
+ | |||
+ | |||
+ | **CDUP** [path] | ||
+ | |||
+ | The client working directory is moved to one parent position " | ||
+ | |||
+ | |||
+ | **QUIT** | ||
+ | |||
+ | Close the FTP connection. | ||
**SITE CHMOD** [permissions] [commands] | **SITE CHMOD** [permissions] [commands] | ||
+ | |||
The SITE CHMOD command can be used by FTP clients to change the permission of an inode (Folder, File or Link). | The SITE CHMOD command can be used by FTP clients to change the permission of an inode (Folder, File or Link). | ||
+ | |||
supported-ftp-commands.1528483000.txt.gz · Last modified: 2019/03/26 12:32 (external edit)