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

xorsyst

Re: Change session name

martin wrote:

There's a /sessionname switch already:
https://winscp.net/eng/docs/commandline


Awesome! That's a new feature that my version didn't have ... until I just updated it :)
xorsyst

Change session name

I'd like to be able to launch winscp.exe from the command-line, pointing at a tunnel I've set up (eg, with:
winscp.exe user:pass@localhost:5555
BUT
then the GUI shows the session as localhost:5555
what I'd like is to be able to specify the target of the tunnel (eg ftp.example.com) instead, as the session name.

winscp.exe user:pass@localhost:5555 -sessionname ftp.example.com

Is there any way to do this already? I've had a good look and I don't think so.