Subject: CURL does NOT continue a file transfer
Package: curl
Version: 7.13.2-2
Severity: important



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27ltspke9-nf2-v07a-sata-experimental
Locale: LANG=sk_SK.UTF-8, LC_CTYPE=sk_SK (charmap=ISO-8859-2)

Versions of packages curl depends on:
ii  libc6                  2.3.2.ds1-22      GNU C Library: Shared
libraries an
ii  libcurl3               7.13.2-2          Multi-protocol file
transfer libra
ii  libidn11               0.5.13-1.0        GNU libidn library,
implementation
ii  libssl0.9.7            0.9.7e-3sarge1    SSL shared libraries
ii  zlib1g                 1:1.2.2-4.sarge.2 compression library - runtime

-- no debconf information


CURL does NOT continue a file transfer where it was previously aborted

0. curl -V
curl 7.13.2 (i386-pc-linux-gnu) libcurl/7.13.2 OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: IDN IPv6 Largefile NTLM SSL libz


1.
read: curl -M
RESUMING FILE TRANSFERS

 To continue a file transfer where it was previously aborted, curl supports
 resume on http(s) downloads as well as ftp uploads and downloads.

 Continue downloading a document:

        curl -C - -o file ftp://ftp.server.com/path/file

 Continue uploading a document(*1):

        curl -C - -T file ftp://ftp.server.com/path/file

 Continue downloading a document from a web server(*2):

        curl -C - -o file http://www.server.com/

 (*1) = This requires that the ftp server supports the non-standard command
        SIZE. If it doesn't, curl will say so.

 (*2) = This requires that the web server supports at least HTTP/1.1. If it
        doesn't, curl will say so.



2. try:
curl -C - -o file
ftp://debian.sh.cvut.cz/DATA/debian-cd/3.1_r0a/i386/iso-dvd/debian-31r0a-i386-binary-1.iso
or
curl -C - -O
ftp://debian.sh.cvut.cz/DATA/debian-cd/3.1_r0a/i386/iso-dvd/debian-31r0a-i386-binary-1.iso
or
curl -C 200000
ftp://debian.sh.cvut.cz/DATA/debian-cd/3.1_r0a/i386/iso-dvd/debian-31r0a-i386-binary-2.iso
-O

it will download again from *beginning*.
CURL does NOT continue a file transfer where it was previously aborted.

I have tested this on 3-4 FTP/HTTP servers.

Much thanks for, curl is beating wget on my servers!

--
Jan Kunder
jan.kunderSPAMMMMgmail.com



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to