国内基本上是找不到这东西,和大家分享下 修正几处错误 , 首先是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: