Xceed .NET Libraries Documentation
Timeout Property (SFtpSession)


Xceed.SSH.Client Assembly > Xceed.SSH.Client Namespace > SFtpSession Class : Timeout Property
Gets or sets a value, in seconds, indicating after what period of time an SFTP operation should timeout.
Syntax
'Declaration
 
Public Property Timeout As Integer
'Usage
 
Dim instance As SFtpSession
Dim value As Integer
 
instance.Timeout = value
 
value = instance.Timeout
public int Timeout {get; set;}

Property Value

A value, in seconds, representing the period of time after which an SFTP operation should timeout. By default, 30 seconds.
Remarks

During a file transfer, the timeout value doesn't specify the time it must take for the file to be completely transferred. Instead, it specifies the maximum amount of time one iteration of the internal copy loop can take.

One iteration of the copy loop consists of the following:

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SFtpSession Class
SFtpSession Members