I try to use the automation.
Dev envrionment Win 7 64bit, net 4.0, SharpDevelp.
Source code taken from https://winscp.net/eng/docs/library C# Example.
Working with version 5.5.4. Copied content of install dir to my debug-dir, added winscpnet.dll. Did the registration with "%WINDIR%\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe WinSCPnet.dll /codebase /tlb". Added the reference via com-Browser and selected winscpnet.dll.
Compiler works fine. No messages.
When running, it goes up to line
calls this and disappears for ever. Will say, nothing happens any more. No log at the ftp-Server side, no message at all. In the Windows TaskManager I see one instance of winscp.exe.
I repeated with older version 5.5.0, i tried by using the NuGet packages. Always the same.
When I use a non matching winscp.exe the .open statement tells me "non matching versions".
By the way, same thing for Visual Basic.
I am desperate. :cry:
What is my mistake?
Thanks for any help.