login about faq

Hi,

I have the following error log

ChilkatLog:
  UploadFile:
    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
    uploadFile:
      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
    --uploadFile
    Failed.
  --UploadFile
--ChilkatLog

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

DaveWright
1112


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.

link

answered Nov 27 '12 at 08:05

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×200
×43
×7

Asked: Nov 27 '12 at 05:44

Seen: 11,452 times

Last updated: Nov 27 '12 at 08:05

powered by OSQA