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

Re: LocalDirectory non-portable

Thanks for your post. This issue has been added to tracker.
briquan_p1

LocalDirectory non-portable

I want to specify the local directory with a path relative to the
location of the WinSCP executable (portable version).

No matter how I try to specify it, the local directory pane on
the left does not show the specified directory (it is blank with
no path shown and no contents). I have tried (in a session's
settings in winscp.ini):

LocalDirectory=Transfers
LocalDirectory=./Transfers
LocalDirectory=.\Transfers
LocalDirectory=%2E%5CTransfers

None of them work.

For WinSCP to be truly portable, this directory specification
should be relative to the executable location. In fact it should
even work to specify e.g.:

LocalDirectory=..\SomeOtherDirectory\Transfers

I searched the Tracker for "LocalDirectory", no hits. By the
way, trying to use the Search box on the front page for
"LocalDirectory", and specifying "Whole Site", shows nothing.
Yet searching this forum does show some hits (but not this
issue). Oh, your front page searching is dependent on scripting
being enabled for Google, that's why it fails (I use Scroogle).

Ref: winscp423.exe renamed to winscp.exe; WinXP Pro SP3