Topic "Corrupt uploads"

Author Message
as1981
[View user's profile]

Joined: 2015-04-18
Posts: 16
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
Advertisements
as1981
[View user's profile]

Joined: 2015-04-18
Posts: 16
The error I get from the .failures.item(0).message is 'Error transferring file'.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
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
[View user's profile]

Joined: 2015-04-18
Posts: 16
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

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Thank for the log. Can you reproduce the problem in WinSCP GUI?
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License