cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with CURLOPT_PORT

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 18 Apr 2005 17:06:56 +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.

This is clearly a bug. Doing it with HTTP shows the same bad behaviour.

I'll work on a fix.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-04-18