cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with CURLOPT_PORT

From: <orobin_at_histor.fr>
Date: Tue, 19 Apr 2005 11:07:54 +0200 (CEST)

With the patch, the option CURLOPT_PORT is now available.

Thank you Daniel.

> 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
Received on 2005-04-19