FTP server command list

Source: Internet
Author: User
Tags ftp client

This is basically not found in China. I would like to share with you the following corrections: first, the NLST command cannot get the folder list, now there are two new commands: mlst and MLSD. net does not know how to use, MLSD can get all lists
This topic is a reference of FTP server subcommands. the FTP client communicates with the server using server subcommands. because a user does not typically communicate with the FTP server, this topic provides the server subcommands, descriptions of what they do, their syntax conventions, and FTP reply status messages for your reference.

Iseries (TM) FTP server supports these subcommands:

Subcommand What it does
Abor Cancels the previous subcommand
ADDM Adds a member to a physical file
Addv Adds a member to a variable-length member to a physical file
Appe Appends data to a specified file
Auth Defines the authentication mechanism used for the current FTP session.
Cdup Changes directory to the parent directory
Crtl Creates a library
Crtp Creates a physical file
CRTs Creates a Source Physical File
CWD Changes the working directory or library
Dbug Starts or ends a server trace
Dele Deletes a file, a member, or a document
Dltf Deletes a file
Dltl Deletes a library
Help Gets information about FTP server subcommands
List Lists files or directory entries
MKD Makes a directory
Mode Specifies a format for data transmission
NLST Lists the names of files or directories
Noop Checks if server is responding
Pass Sends a password to the server
PASV Tells the server to passively open the next data connection
Pbsz Defines the largest buffer protection buffer size to be used for application-level encoded data sent or stored ed on the data connection.
Port Identifies the data port on which the client will listen for a connection
Prot Defines the protection used for FTP data connections
PWD Displays the current working directory
Quit Logs off the user; closes the connection
RCMD Sends a CL command to an FTP server
Rein Re-starts a session on a server
RETR Retrieves data from a server
RMD Removes a directory
RNFR Specifies a file to be renamed
RNTO Specifies a new file name
Site Sends information for a server to use
Stat Gets status information from a server
Stor Saves data on a server and replaces an existing file
STOU Saves data on a server but does not replace an existing file
Stru Specifies the structure of a file
Syst Prints The Name Of The OS on the server
Time Sets the time-out value for the FTP server
Type Specifies the file transfer type
User Sends a user logon ID to the server
Xcup Changes to the parent directory
Xcwd Changes to the working directory
Xmkd Creates a directory
Xpwd Displays the current directory or library
Xrmd Removes a directory


Subcommands unique to iseries FTP Server

Iseries FTP server subcommands include a special set of commands that are really abbreviated names of equivalent, but longer, iseries Cl commands. the names of these special server subcommands must be four characters to comply with the FTP architecture limits. when the iseries server has es these subcommands, this is how it interprets them:

    • ADDM = addpfm (add physical file member)
    • addv = addpvlm (add physical file variable length member)
    • crtl = crtlib (create Library)
    • crtp = crtpf (Create physical file)
    • CRTs = crtsrcpf (create Source Physical file)
    • dltf = dltf (delete file)
    • dltl = dltlib (delete Library)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.