CR dropped during a binary transfer

Advertisement

SFTPNoob
Guest

CR dropped during a binary transfer

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: CR dropped during a binary transfer

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.

Reply with quote

Advertisement

You can post new topics in this forum