Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

ks

Thank you.

That will not be difficult to implement, except maybe the migration point when WinSCP is updated, in which case I guess it makes sense for every existing session to simply inherit the common history, which will provide the usual behavior, for a while, and then every session will start developing its own history, gradually replacing the common inherited part.

By inheriting the common history I mean make a copy of it to every session's registry branch, or - as in that case the total registry data size might turn out to be too big - the data can be moved to a dedicated file as well. Even if the file is lost, it's not critical, just a history of commands.

In the case when WinSCP stores its settings in a file already, the solution is analogous.
martin

Re: Command history for every session

Thanks for your suggestion.

This request has been added to the tracker:
https://winscp.net/tracker/946
ks

Command history for every session

Hello.
WinSCP stores one common Command history for all sessions (in registry). But a command executed in one session most often doesn't make sense in another session (on a different server with a different directory structure). Can every session have its own Command history?
Probably it should be controlled by an option. I'm not sure what others want in this respect.