cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: FTP Port question

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 6 Jul 2007 22:55:57 +0200 (CEST)

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?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-07-06