cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: FTP Port question

From: Wei Weng <wweng_at_kencast.com>
Date: Fri, 06 Jul 2007 17:57:35 -0400

On Friday 06 July 2007 16:55, Daniel Stenberg wrote:
> On Fri, 6 Jul 2007, Wei Weng wrote:
> > I specified the following for CURLOPT_URL,
> >
> > curl_easy_setopt(m_conn, CURLOPT_URL,
> > "ftp://user:pass@192.168.1.180:21");
> >
> > But if I turn on the debug (verbose), libcurl tries to connect to some
> > random port of host 192.168.1.180.
>
> This works fine for me and in fact the autobuilds do this a lot all the
> time and it seems to work fine for them...
>
> Can you show us a complete example that makes this problem appear?

hmm, strange. This problem appears only for a slightly large project I have
been working on, but don't have such problem for the small testing program I
wrote.

Is there anyway to see what options had been set for the curl handle?

Thanks

Wei
Received on 2007-07-07