cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: removing winsock 2 dependence

From: David Byron <DByron_at_everdreamcorp.com>
Date: Wed, 3 Mar 2004 15:41:11 -0800

On Wed, 3 Mar 2004, Gisle Vanem wrote:

> > If someone has a server that can send me large files, I can
> > see how far I get with my MSVC 6 build.
>
> I've used this when tsting MingW version
> ftp://ftp.ncbi.nih.gov/blast/db/FASTA/nt.gz

Hmmm. Not so much luck here. Haven't tried to dive in, but as far as I can
tell, no actual data bytes get transferred. This is what I get:

$ ./curl --version
curl 7.11.0-CVS (win32) libcurl/7.11.0-CVS OpenSSL/0.9.7a
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: SSL NTLM Largefile

$ ./curl --verbose ftp://ftp.ncbi.nih.gov/blast/db/FASTA/nt.gz --remote-name
* About to connect() to ftp.ncbi.nih.gov port 21
* Connected to ftp.ncbi.nih.gov (130.14.29.30) port 21
< 220-
< Warning Notice!
<
< This is a U.S. Government computer system, which may be accessed and used
< only for authorized Government business by authorized personnel.
< Unauthorized access or use of this computer system may subject violators
to
< criminal, civil, and/or administrative action.
<
< All information on this computer system may be intercepted, recorded,
read,
< copied, and disclosed by and to authorized personnel for official
purposes,
< including criminal investigations. Such information includes sensitive
data
< encrypted to comply with confidentiality and privacy requirements. Access
< or use of this computer system by any person, whether authorized or
< unauthorized, constitutes consent to these terms. There is no right of
< privacy in this system.
< ---
< Welcome to the NCBI ftp server. The official URL for NCBI ftp server is
< "ftp://ftp.ncbi.nih.gov", please use it.
<
< Public data may be downloaded by logging in as "anonymous" using your
E-mail
< address as a password.
< 220 FTP Server ready.
> USER anonymous
< 331 Anonymous login ok, send your complete email address as your password.
> PASS curl_by_daniel_at_haxx.se
< 230 Anonymous access granted, restrictions apply.
* We have successfully logged in
> PWD
< 257 "/" is current directory.
* Entry path is '/'
> CWD blast
< 250 CWD command successful.
> CWD db
< 250-CWD command successful.
< Please read the file README
< 250 it was last modified on Fri Apr 12 16:54:40 2002 - 692 days ago
> CWD FASTA
< 250 CWD command successful.
> EPSV
  % Total % Received % Xferd Average Speed Time
Curr.
                                 Dload Upload Total Current Left
Speed
  0 0 0 0 0 0 0 0 --:--:-- 0:00:45 --:--:--
0

and then it just sits there with the clock ticking.

If anyone's got any suggestions, I'm all ears. If anyone knows of a public
http server for large files, I'm interesting in trying that as well.

-DB
Received on 2004-03-04