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!
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!