PowerTCP FTP for .NET
Timeout Property



Gets or sets the timeout value (in milliseconds) used for send and receive timeouts.
Syntax
<DefaultValueAttribute(10000)>
Public Property Timeout As Integer
Dim instance As Ftp
Dim value As Integer
 
instance.Timeout = value
 
value = instance.Timeout
[DefaultValue(10000)]
public int Timeout {get; set;}
[DefaultValue(10000)]
public:
property int Timeout {
   int get();
   void set (    int value);
}

Property Value

The timeout value in milliseconds. The default value is 10000 (10 seconds).
Remarks

This property is used to specify SendTimeout and ReceiveTimeout for control and data connections. Set Ftp.Connection.SocketOption.SendTimeout or Ftp.Connection.SocketOption.ReceiveTimeout after setting this property to configure control connection timeouts only.

This property does not affect an active data connection.

See Also

Reference

Ftp Class
Ftp Members


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic