Xceed .NET Libraries Documentation
Timeout Property (FtpConnection)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpConnection Class : Timeout Property
Gets or sets a value, in seconds, indicating after what period of time an FTP operation should timeout.
Syntax
'Declaration
 
Public Property Timeout As Integer
'Usage
 
Dim instance As FtpConnection
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 FTP 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. Rather, 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

FtpConnection Class
FtpConnection Members