SFTPExecutable needs to be defined in app.config to point to
If you are having trouble remembering where to modify the app.config file, look in your "Solution Explorer" window in the VB.net editor (C# and C++ might be slightly different). I use various editors, so sometimes it is difficult to remember where everything is. My App.config looks like the following, and seems to work.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<appSettings>
<add key="SFTPExecutable" value="C:\Program Files (x86)\WinSCP\WinSCP.com"/>
</appSettings>
</configuration>
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<appSettings>
<add key="SFTPExecutable" value="C:\Program Files (x86)\WinSCP\WinSCP.com"/>
</appSettings>
</configuration>