login about faq


I have the following error log

    DllDate: Aug  5 2012
    UnlockPrefix: -Removed for security-
    Username: XXXX:operator
    Architecture: Little Endian; 32-bit
    Language: .NET 2.0
    VerboseLogging: 0
    SshVersion: SSH-2.0-SSHD
    SftpVersion: 3
    handle: 30
    fromPath: C:\XXXX\20121127_full.XML
      handle: 30
      fromLocalPath: C:\XXXX\20121127_full.XML
      sendAheadMaxCount: 12
      localFileSize2: 488379
      serverWindowSize: 2147614665
      uploadChunkSize: 32000
      socket is not ready for writing
      idleTimeoutMs: 50000
      Socket send idle timeout
      Error sending data
      Failed to send packet in SFTP file upload.
      ResumeInfo: Can resume
      ResumeInfo: Need reconnect
      totalNumBytesSent: 192000
      uploadFileSuccess: 0

Which I got after calling the follow CV.NET code:

Dim handle As String
handle = sftp.OpenFile("/YYYY/" & filename, "writeOnly", "createTruncate")
success = sftp.UploadFile(handle, "C:\XXXX\" & filename)

I'm just using UploadFile but getting an error about resuming which the client's server doesn't support and is causing errors in the process, how do I go about disabling resuming so it doesn't even try and cause issues ?

Thank in advance

asked Nov 27 '12 at 05:44

DaveWright's gravatar image


The "ResumeInfo" lines in the LastErrorText do not mean that the upload was being resumed. It's purely informational saying that the upload failed, and it could possibly be resumed by your application, if your application desired, and that it would need a new connection to do it.


answered Nov 27 '12 at 08:05

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Nov 27 '12 at 05:44

Seen: 12,739 times

Last updated: Nov 27 '12 at 08:05

powered by OSQA