Topic "TimeOut not corresponding to the documentation"

Author Message
sorcer1
[View user's profile]

Joined: 2011-01-19
Posts: 5
Location: France
Hello,

In the doc the Session.Timeout default value is 1 minute :
Quote:
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 :
Code:
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 ?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
If you are referring to -timeout=15, it's governed by SessionOptions.Timeout:
http://winscp.net/eng/docs/library_sessionoptions#properties
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License