Page 1 of 1

Unix SFTP errors

Posted: Thu May 25, 2017 4:31 pm
by randersen
I'm trying to download from a Unix server over SFTP with SSH to a Windows server and I'm getting errors. I presume it is potentially something with the difference in servers. I just haven't been able to find a setting that fixes the issue. Here's the log data I get from the preview window.

Connected to the SFTP server.
Load detected settings from file.
>GetFileList: /var/www/magento/var/sales_export
[1]Connected to the SFTP server.
>[1]Download: /var/www/magento/var/sales_export/FileMoveWorked.xml
[1]
[1] handle: 00000000
[1] numBytes: 65536
[1] nextReadIdx: 0
[1] soRcvBuf: 4194304
[1] soSndBuf: 262144
[1] cryptAlgorithm: aes
[1] macAlgorithm: SHA-1
[1] compression: no
[1] newDownloadLoop:
[1] Number of bytes in FXP_DATA is not equal to the number of bytes requested.
[1] numBytesRequested: 16371
[1] fxpMsgDataLen: 3951
[1] fxpProcessMessage failed.
[1] checkProcessFxpMessage failed.
[1] --newDownloadLoop
[1] newNextReadIdx: 0
[1] numBytesReceived: 0
[1] numBytesReturned: 16371
[1] Failed.
[1] --ReadFileBytes
[1]--ChilkatLog
[1]

Re: Unix SFTP errors

Posted: Mon May 29, 2017 10:13 am
by abe1001
I am having the exact same problem.
Have transferred files from a CentOs server for a long time, but after updating to version 12.0.1.1 I started getting this error in the log:

[1]Download: /opt/to_camel/PICTURE.gif
[1]
[1] handle: 00000000
[1] numBytes: 65536
[1] nextReadIdx: 0
[1] soRcvBuf: 4194304
[1] soSndBuf: 262144
[1] cryptAlgorithm: chacha20-poly1305@openssh.com
[1] macAlgorithm: poly1305
[1] compression: no
[1] newDownloadLoop:
[1] Number of bytes in FXP_DATA is not equal to the number of bytes requested.
[1] numBytesRequested: 16371
[1] fxpMsgDataLen: 6370
[1] fxpProcessMessage failed.
[1] checkProcessFxpMessage failed.
[1] --newDownloadLoop
[1] newNextReadIdx: 0
[1] numBytesReceived: 0
[1] numBytesReturned: 0
[1] Failed.
[1] --ReadFileBytes
[1]--ChilkatLog
[1]

Re: Unix SFTP errors

Posted: Mon May 29, 2017 10:52 am
by abe1001
"Downdated" to version 12.0.0.5, and now the SFTP sync works again. Don't know if this is the last version where it works, but that was my last version before 12.0.1.1.

Re: Unix SFTP errors

Posted: Thu Jun 01, 2017 12:58 pm
by RiseFly
Please download and try version 12.0.1.2 to see if the problem can be resolved.