error C2039: “Command” : 不是“CFtpConnection”的成员
如何解决

解决方案 »

  1.   

    编译器说的很对!Command不是CFtpConnection的成员。。
      

  2.   

    CFtpConnection的Class Members和Base Class Members你可以在MSDN上查到
      

  3.   

    不解,MSDN上CFTPCONNECTION类有这个函数成员,有没有解决的方法呀
      

  4.   

    CFtpConnection Members:
    OperationsCommand Sends a command directly to an FTP server. 
    CreateDirectory Creates a directory on the server. 
    GetCurrentDirectory Gets the current directory for this connection. 
    GetCurrentDirectoryAsURL Gets the current directory for this connection as a URL. 
    GetFile Gets a file from the connected server 
    OpenFile Opens a file on the connected server. 
    PutFile Places a file on the server. 
    Remove Removes a file from the server. 
    RemoveDirectory Removes the specified directory from the server. 
    Rename Renames a file on the server. 
    SetCurrentDirectory Sets the current FTP directory. 
    Command是CFtpConnection的成员。
    那是不是CFtpConnection所对应的头文件被你自己改了阿???
      

  5.   

    啊?看来我的MSDN老了,不中用了,查了下MSDN站点,
    确实有,但是你要去更新 Platform SDK,才能用CFtpConnection::Command
      

  6.   

    就到微软的官方网去更新:
    http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm
      

  7.   

    我的系统是XP_SP2请问用哪一年发布的,以前从没有更新过,最高的更新文件在哪里呀
    下完之后,如何按装,安装之后要不要管它呀,是不是一开机就运行呀
      

  8.   

    我安装了,但还是不能认识这个函数,不知是不是要重生成一下,还是下载的版本不对,还有它有几个压缩包,是不是每一个压缩包都要安装呀,还是只运行第一个包里的SET.EXE就可以了???????????????
      

  9.   

    看来
    "seu07201213(【汪洋】中的一片〖叶子〗) "
    搞这个很久了