Topic "CR dropped during a binary transfer"

Author Message
SFTPNoob

Guest


Hi,

I had SFTP evrsion 4.16 and I was using scripting to transfer file toward a unix system.

The script says so :
option batch on
option confirm off
option transfer binary

Log file shows a binary transfer too.

Since it is a binary transfer I would expect that WINSCP would not try to do anything with the CR and / or LF.

But indeed every 0x10000 or so, a CR was added to the file I transferred. Since I suspected first the remote server I locally installed a SSH server for windows. And i got the same behavior with a binary transfer to 127.0.0.1.

Switching to version 4.21 beta stopped the behavior, but it might be worth having a look what provoked this.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Can you post a log file both from 4.1.6 and 4.2.1?

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. 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
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