Topic "SFTP transfer makes file corrupt"

Author Message
shantiva
[View user's profile]

Joined: 2013-03-22
Posts: 3
Hi

From time to time we have to transfer pdf files to another company.
Before we used WinSCP version 4.? on Windows 7 SP1 x64.
After software update of our hardware firewall sometimes we got an error,
that the file could not be transfered.
Then we updated WinSCP to version 5.1.4 build 3020 and the problem went away.
Everytime the files can be transfered now but then we got another problem.
The other company either can not open the files or can not print because the files
somehow getting corrupt.
For transfer we use SFTP-3 and in WinSCP we use commander GUI.
For testing i used another SFTP software, for example Filezilla Client and with that we
got no problems.

dominik
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Does it happen with every transfer?
Please attach a full log file showing transfer that corrupts a file.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. 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 may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
_________________
Martin Prikryl
shantiva
[View user's profile]

Joined: 2013-03-22
Posts: 3
hi martin

yes this happened with every transfer. I just sent you an email with the log file.

cheers
dominik
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
You are uploading the file in ASCII/text mode. PDF files are binary files. Make sure you are using binary mode (what is default, btw).
http://winscp.net/eng/docs/transfer_mode
shantiva
[View user's profile]

Joined: 2013-03-22
Posts: 3
that was the solution. thank you for your support.
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