Topic "TimeOut not corresponding to the documentation"

Author Message
[View user's profile]

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

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="" ProxyPort="3128"]

Why there is a difference ?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
If you are referring to -timeout=15, it's governed by SessionOptions.Timeout:
Martin Prikryl

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License