ftp 伺服器命令列表

來源:互聯網
上載者:User

國內基本上是找不到這東西,和大家分享下 修正幾處錯誤 , 首先是NLST命令,不能擷取資料夾清單,現在有新出來兩個命令 一個是MLST一個是MLSD第一個我在.net下還不知道怎麼用,MLSD可以擷取所有列表
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 received 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 receives 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)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.