Back to product page

KeepAlive property


Defines if NOOP commands are sent on control channel during file transfer.

Type

Integer

Syntax

  • C#
  • VB.NET
Int32 KeepAlive {get; set; };

Property KeepAlive As Int32

Remarks

KeepAlive value specifies how many seconds must pass during file transfer before wodFtpDLX sends NOOP command on control connection to keep it alive. Usually no response will be received from the server for this command immediately - typical servers will wait until file transfer is over to send replies back. However, sending this command helps you keeping socket connection alive since some routers and firewalls drop connections when they are inactive.

This property defaults to 0 - commands are not sent by default. Also, it is ignored in SFTP protocol.

Platforms

Windows