Corrupt uploads

Advertisement

as1981
Joined:
Posts:
19

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,442
Location:
Prague, Czechia

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.

Reply with quote

as1981
Joined:
Posts:
19

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
  • winscplog_Nexfoto_Live_1_2_from_31-08-2015_15-00-00.txt (356.51 KB, Private file)

Reply with quote

Advertisement

You can post new topics in this forum