cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problems with CURLOPT_PORT in FTP code

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 23 Apr 2003 01:37:32 +0200 (CEST)

On Tue, 22 Apr 2003, Dave Halbakken wrote:

> > FTPPORT doesn't support that, but we could easily make it allow a
> > ":[port]" in good old style to be appended...
>
> I'd really like to be able to set the port using CURLOPT_FTPPORT.

It would probably make it pretty error-prone unless we allow a range of ports
to try. Do you really want a single set port number to get used or that the
transfer fails?

Would you be able to provide an initial patch for this?

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-04-23