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

bytecodeman

I took your suggestion and provided full local paths and things are working great now.

Thx for the reply!
bytecodeman

Session.ExecutablePath and Application's Current Default Dir

Hi!

I've been using your WinSCP .NET assembly with much success until today where I decided to be adventurous. :-) I wanted to have only one copy of WinSCP stored on my machine. I have multiple applications that references and make use of WINSCP.exe.

All my apps have their own copies of WinSCP.exe in their directories and everything works fine.

I decided to delete all the WinSCP.exe's from the app directories and use the Session.ExecutablePath property to find that one installed executable.

The result is now downloaded files get stored in the Program Files/Winscp directory and not the default directory of the app.

I'm using the latest 5.7.1.

Any ideas?

Much appreciated.
Tony