cURL / Mailing Lists / curl-library / Single Mail


Re: FTP keep alive connection

From: Dan Fandrich <>
Date: Tue, 6 Nov 2007 12:51:52 -0800

On Tue, Nov 06, 2007 at 08:33:08PM +0000, Jamie Lokier wrote:
> FTP servers implement a timeout by closing the connection when they
> haven't received a command for some time. (Though some of them seem
> to timeout even if they have, strangely.)
> SO_KEEPALIVE by the client won't change that. The server still won't
> receive anything that's noticed by the application, and it will still
> close the connection after that time.

But hopefully, the server won't close the control connection while in the
middle of sending a file. That's the situation where this is needed most--
a NAT closing the control connection while a file in being transferred.

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-11-06