Xceed FTP Library Documentation
XceedFtp control reference / Properties / KeepAliveInterval property
In This Topic
    KeepAliveInterval property
    In This Topic

    Description

    The interval, in seconds, representing the period of idle or transfer time after which a NOOP command is sent on the command channel.  This property currently only applies to file transfers.

    Data type

    Long

    Default value

    By default, 0 seconds, indicating that no NOOP command should be sent.

    Remarks

    Setting this property can be useful to prevent routers from prematurely closing the command channel while a long data transfer is taking place. It is generally not necessary to set a value smaller than 15 minutes (900 seconds).

    Declaration  

    HRESULT KeepAliveInterval( [out, retval] long* plValue );

    HRESULT KeepAliveInterval( [in] long lValue );