Post a reply

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

martin

Re: custom session name creation pattern/settings

Thanks for your post.
This request has been added to the tracker:
https://winscp.net/tracker/736
consistency

custom session name creation pattern/settings

if i save a session with the hostname "example.com" and the user "root", it will add a default name in the save field as: "root@example.com"

this is quite unhandy if you have multiple servers with root users and a different user, in the session list the will get sorted like:
root@alpha.com

root@beta.com
root@example.com
root@gamma.com
anton@alpha.com
beate@beta.com
conrad@gamma.com


so they are not sorted by server but by username.

i always rename the session like this:
example.com: root

example.com: username


so everything is sorted by server

would it be possible to:
- add my pattern (#hostname: #username) to switch per checkbox (defaultSessionName=0/1 in the ini file)
or
- allow a custom pattern to be defined in the ini file (defaultSessionName="--#hostname: || #username--"