zoukankan      html  css  js  c++  java
  • ftp 服务器命令列表

    国内基本上是找不到这东西,和大家分享下 修正几处错误 , 首先是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)
    微软BI技术交流群:316744959 武汉NET技术群:961108969 NET技术群:21386099 本人具有丰富的系统开发经验,承接系统开发,小程序,NET系统开发,BI开发,有需求联系微信手机:15010195887
  • 相关阅读:
    Oracle 删表前验证表名是否存在并且删除
    Mysql的建表规范与注意事项
    MYSQL总结之sql语句大全
    主机屋云服务器(绑定域名)初探
    (十)Thymeleaf用法——Themeleaf内联
    (九)Thymeleaf用法——Themeleaf注释
    (八)Thymeleaf的 th:* 属性之—— 模板布局& th:with& 属性优先级
    (七)Thymeleaf的 th:* 属性之—— th: ->设值& 遍历迭代& 条件判断
    (六)Thymeleaf的 th:* 属性之—— th: ->text& utext& href
    (五)Thymeleaf标准表达式之——[7->8]条件表达式& 默认表达式
  • 原文地址:https://www.cnblogs.com/Impulse/p/1135861.html
Copyright © 2011-2022 走看看