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: WinSCPnet.dll use without installing exe

You do not have to install WinSCP. Just deploy a copy of WinSCP.exe along with your application.
Or use WinSCP NuGet package, which does it for you.
Or you can embed WinSCP.exe into your executable, if you want one-file solution only.
All these options are covered in documentation:
https://winscp.net/eng/docs/library_install
secondfh

WinSCPnet.dll use without installing exe

I'm want to call the WinSCPnet.dll in LabVIEW to perform an SFTP. I can only get it to work if WinSCP.exe has been installed on the PC. Would like to avoid having to install the exe. Is the .dll conditioned to perform this way?

Error message:
WinSCP.SessionLocalException: The winscp.exe executable was not found at location of the assembly (C:\), nor in an installation path. You may use Session.ExecutablePath property to explicitly set path to winscp.exe. <append><b>WinSCP.SessionLocalException</b>