cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1473373 ] DNS reverse name lookup

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 19 Apr 2006 23:33:36 -0700

Bugs item #1473373, was opened at 2006-04-20 07:04
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1473373&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: ftp
Group: bad behaviour
Status: Open
Resolution: None
>Priority: 4
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: DNS reverse name lookup

Initial Comment:
Hi,
cURL fails to download from some FTP sites, such as
ftp://ftp.cdc.noaa.gov/Datasets/ncep.reanalysis/README
or any other file at that domain (this usually gets
"curl: (56) FTP response reading failed", however it
randomly works some times). This is because their FTP
server uses a reverse name look-up (i.e.
http://www.cdc.noaa.gov/PublicData/faq.html#8 ). I've
only had success by using Mozilla Firefox and manually
downloading [hundreds of] files. It does not work with
the stock 'ftp' command (error message is "Connection
closed by remote host."), nor with 'wget'.

My WinXP SP2 computer has an assigned or static IP
address (if this matters).

curl 7.15.1 (i686-pc-cygwin) libcurl/7.15.1
OpenSSL/0.9.8a zlib/1.2.3
Protocols: tftp ftp gopher telnet dict ldap http file
https ftps
Features: Largefile NTLM SSL libz

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2006-04-20 08:33

Message:
Logged In: YES
user_id=1110

First, how do you know the reverse lookup is the reason? The
"curl: (56) FTP response reading failed" message certainly
indicates something else.

Then, can you show us a curl -v output of a failure?

If you run a network capture program like ethereal you could
compare the FTP traffic firefox does to what curl does and
see what the differences are and you could tell us.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1473373&group_id=976
Received on 2006-04-20

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET