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

martin

I still cannot reproduce it.

The second time: Are you opening a second connection to the same site? Or do you the first connection before opening the second one? Anyway, both work for me. I'd need step-by-step instructions. Thanks.
Pathduck

I think maybe some kind of caching is involved? Because I see different results whether it's the first connection on WinSCP start or later. For the first start it does change directory, second time (without closing WinSCP) it doesn't work.
Pathduck

Thanks Martin - it seems to work, it falls back to the "current" directory locally if the saved dir doesn't exist.

However - it also does not seem to change to an *existing* dir if it does exist as well, which is probably not what is intended?

Not sure if this is caused by networked drives, and/or with trailing slash. I've tried the different ways, like f: and f:\ and also C:\Users\username\bin and even if they exist, they are not changed to.
martin

Re: Better handling of missing local directory on login?

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

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.
martin

Re: Better handling of missing local directory on login?

Thanks for your suggestion. I'll consider it.
Pathduck

Better handling of missing local directory on login?

I think with the latest version, but maybe it's been there before, WinSCP gives an error on login if the local directory of the site definition is missing.

For instance, I used to have w: as a home directory but on my new machine I have the standard path, and all my sites now have this mapped.

I know I can use the batchsettings to change the directory for all sites, but it would be good if WinSCP handled this exception without throwing an error like this, and just would fall back to the default directory, which I think is Documents.