Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Mastakilla

ah ic

didnt know that

strange to have an option modifying files is enabled by default
martin

Mastakilla wrote:

nice program btw, although i do find it strange that a text transfer has to screw up the new line characters (filezilla does the same btw)

That's what a text transfer is all about.
Mastakilla

weird

it seems like your right

is it possible that you need to close all winscp instances first after changing this setting, before it becomes active for all favorites?

but in any case it does seem to work now, thanks

nice program btw, although i do find it strange that a text transfer has to screw up the new line characters (filezilla does the same btw)
martin

Re: Forcing binary for all transfers of all my favorites

The setting is global, not per-session.
Mastakilla

Forcing binary for all transfers of all my favorites

Hello all,

I use Winscp a lot. I have around 50-100 favorites in my Winscp which all connect to hp-ux servers using SSH.

I recently discovered that Winscp, by default, screws up the unix new line characters by replacing them by windows new line characters.
This is because, depending on the extension of the file, Winscp transfers some files (including .sh scripts) in text mode.
By doing so, all unix new line characters are replaced by windows new line characters and the scripts stop working.

This is not very nice... but it is solvable...

When you go in the preferences of Winscp you can force Winscp to do ALL transfers in binary mode, which solves the above problem.

However, there is another problem...

Apparently this settings is saved per favorite (session) and, as you can imagine, I wouldn't like changing this option for all 50-100 of my favorites...
So I went looking where this setting is stored. I quickly found out all settings of Winscp are stored in the registry. However I couldn't find the registry key that stores the transfer mode for a session, so I can't modify it directly in the registry... :(

so my question is:
Does anyone know a way to easely modify the transfer mode for ALL my favorites in one easy action?

Thanks!