cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Upload

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 17 Dec 2002 14:23:18 +0100 (MET)

On Mon, 16 Dec 2002, Cadime wrote:

> I used the standard ftp client from HP-UX (the same machine I am trying to
> use libcurl) and I managed to upload the file. However, noticing that
> comnect time is long !!!

Well, can you produce a trace/list of FTP commands from the working session
and one list from the non-working session for us to compare?

> How can I be sure about the error origin?

1. Figure out why curl tries to connect to that port. 2. Figure out if your
program is supposed to be able to connect there. 3. If all else fail, figure
out why the curl code fails if it shouldn't.

> >But my guess is that you're using PORT and that the server is giving you a
> >private IP back (10.*) that you can't connect to.

> Do you mean I canīt connect to any private address?

Well, if you connect to a remote server who's offering you one of its private
IP adresses, then you can't connect to it, no.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
Received on 2002-12-17