Posted: 2012-09-07 09:40
In the doc the Session.Timeout default value is 1 minute :
TimeSpan Timeout : Maximal interval between two consecutive outputs from WinSCP console session, before TimeoutException is thrown. The default is one minute.
But when i try the example code with the 5.0.8 version i found in the debug log this line command :
Command: [open -hostkey="ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" -timeout=15 "sftp://user:pwd@host:22" -rawsettings ProxyMethod="3" ProxyHost="proxy.com" ProxyPort="3128"]
Why there is a difference ?
Location: Prague, Czechia
If you are referring to -timeout=15, it's governed by SessionOptions.Timeout:
You can post new topics in this forum
And it's free!