Documenting Problems That Were Difficult To Find The Answer To

How To Disable Newline Translation Over FTP In Beyond Compare

I am a big fan of Beyond Compare (have purchased a Pro edition license) – and I use it mostly to backup between hard drives or remote sites and home.

I made a SFTP connection to a remote site to copy a text file using the Folder Compare view. However upon making the copy the local file (on Windows) was bigger than the remote file (on Linux). Yet the files compared the same. Clearly newline translation was occurring (as Linux uses a single byte to represent a line ending while Windows uses two bytes to represent a line ending).

So, how to do a binary download rather than a text-conversion download?

Go to the menu, select Tools -> FTP Profiles…

Select Tools > FTP Profiles...

Select Tools > FTP Profiles…

Next choose the Transfer tab, select the default FTP profile, and change the transfer type to be always Binary (not Auto).

Set the default transfer type to be Binary

Set the default transfer type to be Binary

Now you can retry your copy action and the file on your local system should be byte-identical to the one on your remote system.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: