.net Automation with Proxy
Hallo,
I use the following Code Snippet for config the winscp Connection
Error: Connection has been unexpectedly closed. Server sent command exit status 0.
I can Connect per GUI.
What can I do?
Thanks!
I use the following Code Snippet for config the winscp Connection
With MyConfigSessionOptions .Protocol = Protocol.Sftp .HostName = MyConfig.HostName .UserName = MyConfig.UserName .Password = MyConfig.Password .SshHostKeyFingerprint = MyConfig.SshHostKeyFingerprintoperty .AddRawSettings("ProxyMethod", MyConfig.ProxyMethod) .AddRawSettings("ProxyHost", MyConfig.ProxyHost) .AddRawSettings("ProxyPort", MyConfig.ProxyPort)
Error: Connection has been unexpectedly closed. Server sent command exit status 0.
I can Connect per GUI.
What can I do?
Thanks!