如题。

解决方案 »

  1.   

    我测试了下(服务器为Serv-U,Win2K)
    重启Serv-U,不重启程序不能传输;但重启我的程序,不重启Serv-U可以传输。why?
      

  2.   

    已解决。
    Indy升级到Indy9,
    IDFTP单元中的InternalGet函数引去如下语句,同样处理InternalPut;
      // ToDo: Change that to properly handle response code (not just success or except)
      // 226 = download successful, 225 = Abort successful}
    //  LResponse := GetResponse([225, 226, 250, 426, 450]);    
    //  if (LResponse = 426) or (LResponse = 450) then begin
    //    GetResponse([226, 225]);
    //    DoStatus(ftpAborted, [RSFTPStatusAbortTransfer]);
    //  end;
      

  3.   

    但重启我的程序,不重启Serv-U可以传输。why?因为你的本地文件是以独占模式打开的。