I'm uploading files with sftp. Sometimes it works fine for many files. Other times I get the below. Once that happens, it is difficult to get things going again. So I wonder if I am not freeing up some resource properly. Or maybe it is a matter of parameters. The files are about 100K.
OpenFile: DllDate: May 8 2014 ChilkatVersion: 18.104.22.168 UnlockPrefix: RCNCOMSSH Architecture: Little Endian; 64-bit Language: Cocoa Objective-C VerboseLogging: 0 SshVersion: SSH-2.0-OpenSSH_5.3 SftpVersion: 3 sftpOpenFile: remotePath: /var/www/html/chart_art/300052a2-01bb-4444-a0ac-89556b812c53.1.png access: writeOnly createDisposition: createTruncate v3Flags: 0x1a Sent FXP_OPEN readChannelData_2: genRead_1: Timeout waiting to read socket or accept connection timeoutMs: 10000 sshRawPacket: Socket operation timeout. sshGenRead: Socket operation timeout. --genRead_1 --readChannelData_2 SSH read failed... Failed to read SFTP packet. Failed to receive response to FXP_OPEN --sftpOpenFile Failed. --OpenFile
asked Aug 20 '14 at 19:13
Try this new build:
Also, try increasing the IdleTimeoutMs property to a time greater than 10 seconds. Try 20000 millisecs instead.
Finally, if the problem remains, use VerboseLogging = YES, then then post the full LastErrorText with line-endings preserved by using "pre" tags.
answered Aug 21 '14 at 20:17