Topic "skipped SSH_FXP_WRITE"

Author Message
[View user's profile]

Joined: 2008-11-25
Posts: 2
I am new to WinSCP and am using it from the command line to automate SFTP file transfers.

I am interrogating the log file to automatically verify the file transfer was successful. My verification includes checking for the transfer filename, transfer date, and the transferred byte count.

For the Byte count, I am looking at the message: "SSH_FXP_WRITE, Size: NNNNNNN, ..."

When testing with small files, < 1000 bytes, my verification was OK. But when testing with larger files, I frequently get a file size smaller than what I really sent. Following the SSH_FXP_WRITE I get:

I've seen this statement in the logs for several posts, but haven't been able to identify what causes it, why it is there, what it really means, etc. I look at the transferred file and the entire file is transferred OK.

Any thoughts?
[View user's profile]

Joined: 2008-11-25
Posts: 2
Another little fact from my latest test. The file size is always 4076 with files of actual size 5568 or with 4128:
Type: SSH_FXP_WRITE, Size: 4076, Number: 774

Another fact: The last file of size 4128 transfers with the same error using public key encryption (different destination and session), but the byte count is 4079.

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26299
Location: Prague, Czechia
Set logging level to "Debug 1" to have all packets logged.
Martin Prikryl

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License