Post a reply

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

Thank for the log. Can you reproduce the problem in WinSCP GUI?
as1981

Hello,

Thank you for your help. I have attached the log file. I replaced the folder name in the path and the server name.

One file affected is 60f678ee-5cf4-464b-b569-4646535b207e.jpg

The original file size is 1.37MB. The file is size uploaded is 0.99MB.

Thanks

Andrew
martin

Re: Corrupt uploads

If there's anything in the .Failures, the .IsSuccess cannot be true.
Note that the .IsSuccess is implemented as (Failures.Count == 0).

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate log file, set Session.SessionLogPath. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
as1981

The error I get from the .failures.item(0).message is 'Error transferring file'.
as1981

Corrupt uploads

All,

I am uploading lots of jpg files using the .putfiles function.

TransferMode is set to TransferMode_Binary

Sometimes the transferResult.IsSuccess result is 'success' but the file is not complete. The source file size is smaller than the destination size.

Does anyone else have this problem or any ideas as to what I can try?

Thanks

Andrew