WinSCP - edit connection config file?

1

1

Is there a way to edit all the connections and related parameters in a text file rather than using the GUI? I have maybe 15-20 to enter, and could add them from a spreadsheet, probably faster in a text edit mode. Also, there is a pattern in our naming, so many of the parameters are the same (userid, keyfile name, similar).

NealWalters

Posted 2017-06-30T19:10:16.877

Reputation: 293

Answers

2

WinSCP can load configuration from an INI file.

You can edit the INI file like:

[Sessions\Server1]
HostName=server1
UserName=user1
PasswordPlain=password1
FSProtocol=2

[Sessions\Server2]
HostName=server2
UserName=user2
PasswordPlain=password2
FSProtocol=2

Martin Prikryl

Posted 2017-06-30T19:10:16.877

Reputation: 13 764