cURL / Mailing Lists / curl-library / Single Mail


Re: Active Mode FTPS Data Port Range

From: Daniel Stenberg <>
Date: Tue, 21 Apr 2009 19:52:31 +0200 (CEST)

On Mon, 20 Apr 2009, Mr Ronny Liu wrote:

> I am wondering if it is possible to specify the data port range for an
> active mode transfer when I specify --ftp-port (in binary) or

No it isn't.

>    Also, is there a reason against specifying the port range?

Not really, no. It could match the CURLOPT_LOCALPORTRANGE option.

> If this is not currently possible, what code should I look at to possibly
> implement it?

The TODO mention:

The source code: lib/ftp.c:ftp_state_use_port() would be a starting point I

Received on 2009-04-21