Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Get File Transfer Breaks, if server not pusing hard enough

James wrote:

I agree with the comment in the code that filling in the gaps would be very difficult.

However that's is probably the way I'll go. Maybe in next version.
James

Get File Transfer Breaks, if server not pusing hard enough

The get (from server) file transfer breaks with WinSCP, if SSH_FXP_DATA does not return the number of bytes requested (<). This may be reason for of the some SFTP copies that fail for larger file transfers. I understand that WinSCP is attempting to maximize the channel by sending future requests. Perhaps, if the server is not sending back full messages in the SSH_FXP_READ requests that the client sets a flag, which will indicate that the client should go into a get-and-wait state for future SSH_FXP_READ messages.

putty/sftp.c::int xfer_download_gotpkt(struct fxp_xfer *xfer, struct sftp_packet *pktin)

I agree with the comment in the code that filling in the gaps would be very difficult.

Regards,
James