Use current local folder on new connection

Advertisement

beloglazov
Joined:
Posts:
3

Use current local folder on new connection

WinSCP stores last used local folder for a connection. It's a very useful feature!
But sometimes I need transfer files from one server to another using the same local folder.
So I need a checkbox on initial login panel with servers list named "Stay in local folder". So when it will close current connection and will open new, it will stay in current folder, not in stored one.
It can't be a global setting "store/not store local folder" for each or certain connection. It depends on a current task.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Use current local folder on new connection

You can create two sites for the same session, one with the option turned off and one with the option turned on.
Or you can modify the settings as needed for the current task, without saving them.

Reply with quote

beloglazov
Joined:
Posts:
3

Re: Use current local folder on new connection

martin wrote:

You can create two sites for the same session, one with the option turned off and one with the option turned on.
Thank you for your answer!
1) Yes, it solves the problem. But I have more than 15 connection, so I can't double it.
There is another problem for doubling. I have 2 users for each site: root and web-programmer account. Sometimes I need only programmer account, some times root. WinSCP can't save 2 users. I have to change it, if I need another, save (login button disabled) and then login.

martin wrote:

Or you can modify the settings as needed for the current task, without saving them.
2) Can't you explain with more details, please?
When I open a new connection, button "more..." is disabled. So I can't set/remove "remember folder" in options.
In connection list I can select any connection and pick "edit" action. But button "Login" became disabled till I save options.
I opened 1st connection. Opened "new connection" window. I switched off the "Remeber last folder" in another connection and saved it. Then I logged in. It showed me different local catalog, than in 1st opened connection. So it doesn't work as I expected.
P.S. I use Russian version, so I don't know exact option names in English. If something unclear, I can change to English version.

Reply with quote

beloglazov
Joined:
Posts:
3

Re: Use current local folder on new connection

martin wrote:

Use Clone to New Site command to load the settings to the Login dialog to modify them:
https://winscp.net/eng/docs/ui_login
Thank you! This helped me connect to the saved server with another user account without saving it.
The "connect" button is enabled in this case.

martin wrote:

Regarding the username: If you do not save the username to the site, WinSPC will prompt you for one, when connecting.
Yes, I understand this. But saving credential saves my time :)

Reply with quote

Advertisement

You can post new topics in this forum