Home Forums .NET libraries Xceed SFTP/FTP for .NET FTP I/O error when trying to send file

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064

    Was there ever any fix or work-around for this?  I’m experiencing the same issue.

     

     

    Error Message:

    An error occurred during the execution of a command sequence. See the InnerException property for details.

     


    Inner Exception:

    Xceed.Ftp.FtpIOException: An I/O error occurred while accepting the FTP server's data connection. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond ***.**.***.**:61189
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at Xceed.Ftp.Engine.PassiveFtpDataChannel.ConnectCompleted(IAsyncResult asyncResult)
       --- End of inner exception stack trace ---
       at Xceed.Ftp.Engine.PassiveFtpDataChannel.EndConnect(IAsyncResult asyncResult)
       at Xceed.Ftp.Engine.FtpDataConsumerCommand.ProcessPreliminaryReply(FtpCommandChannel commandChannel, FtpReply reply)
       at Xceed.Ftp.Engine.FtpCommand.ProcessReply(FtpCommandChannel commandChannel, FtpReply reply)
       at Xceed.Ftp.Engine.FtpCommand.Execute(FtpCommandChannel commandChannel)
       at Xceed.Ftp.Engine.FtpCommandSequence.Execute(FtpCommandChannel commandChannel)
       at Xceed.Ftp.Engine.BaseFtpCommand.BackgroundWorker_DoWork(Object sender, DoWorkEventArgs e)
       at Xceed.Ftp.BackgroundWorkerWrapper.OnDoWork(DoWorkEventArgs eventArgs)
       at Xceed.Ftp.BackgroundWorkerWrapper.DoWorkThreadStart()

     


    Stack Trace:

       at Xceed.Ftp.Engine.FtpCommandSequence.EndExecute(IAsyncResult asyncResult)
       at Xceed.Ftp.FtpClient.DoExecuteCommand(FtpCommandChannel commandChannel, BaseFtpCommand command)
       at Xceed.Ftp.FtpClient.DoSendFile(FtpCommandChannel commandChannel, SendFileFtpCommandSequence sequence)
       at Xceed.Ftp.FtpClient.SendFile(Stream source, String remoteFilename, Boolean append)
       at Common.Transportation.FtpManager.SendFTPFile(String fileWPath, String hostName, String username, String password, String directory)

     

    Additional Info:

    Version: 1.00
    Percent Completed: 0
     
    Connected to ***.**.***.**:21 on 12/10/2013 @ 9:49:53 AM
    < 220 Serv-U FTP Server v14.0 ready...
    > AUTH SSL
    < 234 AUTH command OK. Initializing SSL connection.
    > PBSZ 0
    < 200 PBSZ command OK. Protection buffer size set to 0.
    > PROT C
    < 200 PROT command OK. Using clear data connection.
    > USER username
    < 331 User name okay, need password.
    > PASS *****
    < 230 User logged in, proceed.
    > TYPE I
    < 200 Type set to I.
    > PASV
    < 227 Entering Passive Mode (**,***,***,**,239,5)
    > STOR file_061031155057.zip
    < 150 Opening BINARY mode data connection for file_061031155057.zip.

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by Jacob (had 2100 views)

    User (Old forums)
    Member
    Post count: 23064

    Was there any resolutions on this, as I am encountering the same problem using FTPS connection Authentication Method.Tls

    I receive a certification back from the server, just unable to copy to  

     227
    Entering Passive Mode

     STOR
    upload.txt

    150
    Opening data channel for file upload to server of
    “/extracts/upload.txt”

    426
    Connection timed out, aborting transfer of
     

     

    Stack trace error

    An attempt was made to create a root folder. If the root
    folder is a removable drive, make sure a disk is inserted.

    Type: Xceed.Ftp.FtpFolder 

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by Mark (had 2125 views)

Viewing 2 posts - 16 through 17 (of 17 total)

You must be logged in to reply to this topic.