Back to product page

KeepAlive property


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

Type

An Integer value. Specifies number of seconds before sending NOOP command.

Syntax

  • Basic
object.KeepAlive  [= value]
The KeepAlive(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodFtpDLX.
valueAn Integer value.

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