cURL / Mailing Lists / curl-users / Single Mail


Re: File transfer without end

From: Dan Fandrich <>
Date: Tue, 12 Sep 2006 10:19:26 -0700

On Tue, Sep 12, 2006 at 07:02:37PM +0200, wrote:
> the C function setsockopt with SO_KEEPALIVE could work.
> or change to a different protocol.

That might do the trick. curl in CVS contains CURLOPT_SOCKOPTFUNCTION
that could be used for this.

> good reasons for that are:
> Security the password is sent unencrypted through the network.
> Firewalls (two channel/multichannel protocols in general have trouble
> during long transfers)
> ftps (ftp over ssl) is not really an option because of the same firewalls
> the firewall looks into the controlstream to lookup what extra ports
> to open and with ftps that stream should be encrypted.

Explicit SSL (using AUTH TLS) combined with EPSV/PASV should traverse most
local firewalls just fine.

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-09-12