Hi Martin, thank you for the reply, i did have a play with it, at first i wasn't sure how to reference the .exe but did then realis as long as it's in the same directory as the .dll it gets picked up.
I have realised that putting WinSCP.exe and WinSCPnet.dll in the same location as the script works ok, is this the most efficient way to do it?
Rather than having many copies of those 2 files with different scripts, can i change the location the script looks at for them so i only need 1 copy of them in a central location which all scripts could reference?
Sorry if i have missed this in the docs.
I'm looking to create a Powershell form that will be given to people within the business to be able add files to an SFTP site.
What is the best way to manage this with WinSCP from a deployment point of view?
Ideally, I don't want to install WinSCP across different computers.
Can I put an .exe or .dll in a central location for all machines to use?