Archived Forum Post

Index of archived forum posts


"Failed to setup passive data socket for upload"

Jan 08 '16 at 10:22

We are a managed service provider and have a client who purchased some software that uses ChilKat to transfer some FTP data (not sure exactly what it's doing) but it fails in the middle of the session. Below is the snippet from the log file. Can anyone shed any light on what conditions write out these specific error messages?

Their software is failing to complete some type of operation once the FTP session is established to their host, which is at They state they do not have this issue at any other installation. We have used CoreFTP from the same server on the same network and we are able to establish the connection and access the information without issue. CoreFTP can also send the EPSV command without issue. The log file generated indicates it is sending the EPSV command and according to Wireshark captures it begins re-transmission attempts afterwards and times out.

We do not have any outbound ports restricted using the gateway firewall (Sonicwall) nor Windows Firewall, and we are not running any type of host intrusion protection or other software that would be considered intrusive to communications. Anti-virus software has been disabled. This problem occurs on Windows 7 and Windows 2012 R2 server. On the server I have also disabled IPV6 on the outside chance this was interfering. The FTP host is running ProFTPD 1.3.5 Server and the ChilKat module is version



  localFileSize: 31


    initialGreeting: 220 ProFTPD 1.3.5 Server (EV) []

    restartNext: 0

    modeZ: 0

    binaryMode: 1


      passive transfer mode



          sendingCommand: EPSV



          replyLineQP: 229 Entering Extended Passive Mode (|||62801|)

          commandResponse: 229 Entering Extended Passive Mode (|||62801|)

          statusCode: 229




          port: 62801


            ConnectFailReason: Connection rejected


          dataConnectSuccess: 0


        setupPassiveDataSocket dataConnect failed..


      Failed to setup passive data socket for upload




TotalTime: Elapsed time: 21076 millisec