View Single Post
Old 01-22-2002, 06:29 PM  
FlashFXP Developer
bigstar's Avatar
Join Date: Oct 2001
Posts: 8,012

During a fxp transfer FlashFXP sits idle waiting for the ftp servers to return a transfer complete message, and because of this it's nearly impossible to detect if the connection was lost.

FlashFXP uses a winsock option called keepalives which sends a keep alive packet every XX minutes to determine if the connection is still active. It has come to my attention that the default keepalive value is 2hrs. If you are daring, you might try adding this registry value and setting it to "60000" = 1 minnute

Key: Tcpip\Parameters
Value Type: REG_DWORD - Time in milliseconds
Valid Range: 1 - 0xFFFFFFFF
Default: 7,200,000 (two hours)
Description: The parameter controls how often TCP attempts to verify that an idle connection is still intact by sending a keep alive packet. If the remote system is still reachable and functioning, it will acknowledge the keep alive transmission. Keep alive packets are not sent by default. This feature may be enabled on a connection by an application.
bigstar is offline