Re: Active Mode FTPS Data Port Range
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
> CURLOPT_FTPPORT flags.
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: http://curl.haxx.se/docs/todo.html#PORT_port_range
The source code: lib/ftp.c:ftp_state_use_port() would be a starting point I
-- / daniel.haxx.seReceived on 2009-04-21