curl-library
Re: Problem with CURLOPT_PORT
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 18 Apr 2005 21:40:38 +0200 (CEST)
Received on 2005-04-18
Date: Mon, 18 Apr 2005 21:40:38 +0200 (CEST)
On Mon, 18 Apr 2005 orobin_at_histor.fr wrote:
> I can do it in the url (ftp://200.0.0.52:22) but I would like to use the
> CURLOPT_PORT option. Unfortunately, this one has no effect: I set
> CURLOPT_PORT to 22 but my client always connects to the server on the port
> 21.
Here's a patch that seems to fix the problem and that I'll commit now!
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
- TEXT/PLAIN attachment: port.patch