Back to product page

Timeout property


Total number of seconds to expire before we are automatically disconnected from the server.

Type

Short.

Syntax

  • C#
  • VB.NET
Int16 Timeout {get; set; };

Property Timeout As Int16

Remarks

Timeout value specifies how many seconds must pass without any activity between wodSFTP.NET and remote server before wodSFTP.NET will auto-disconnect from it. Auto-disconnect is a measure of protection so there are no 'ghost' connections made between you and remote server. If you don't want auto-disconnection to occur, set Timeout property to 0.

Timeout can be changed during a lifetime of a connection. You shouldn't set it below 120 (2 minutes) if you're on slow network connection.

Platforms

Windows