本帖最后由 VisualEleven 于 2012-07-26 22:13:45 编辑

解决方案 »

  1.   

    用ftp命令
    STAT - return server statusSTAT
    Syntax: STAT [remote-filespec]
    If invoked without parameters, returns general status information about the FTP server process. If a parameter is given, acts like the LIST command, except that data is sent over the control connection (no PORT or PASV command is required).ftp命令一览 
      

  2.   

    要向ftp服务器传文件,想知道剩余空间。
      

  3.   

    去熟悉FTP协议,就知道怎么编程了
      

  4.   

    ftp一个的服务端一个是客户端吧,实在不行直接加个命令有服务端获取就可以了
      

  5.   

    服务器端用的serv-u。怎么编程实现从客户端获取服务器空间大小。加命令暂不考虑。
      

  6.   

    我记得ftp传送文件后,会返回一些信息的,你想要的东西就在这里面.
    所以可以尝试向ftp空间写一个比较小的文件,然后就得到空间信息了.