cURL / Mailing Lists / curl-users / Single Mail

curl-users

Resuming file transfers issue

From: shirish <shirishag75_at_gmail.com>
Date: Tue, 6 Jan 2009 20:08:23 +0530

Hi all,
  First of all I have put the mail-list delivery off so please CC me
while replying.

First of all thank you for making a tool like curl.

I am trying to use curl as one uses wget. I like some of the good
features that curl
has over wget.

My use-case being using it as a download manager.

Anyways here are couple of issues I am using curl.

I am just using an example to show the issues I have been having.

I am using curl version 7.18.2

$ curl --version
curl 7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g
zlib/1.2.3.3 libidn/1.10
Protocols: tftp ftp telnet dict http file https ftps
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

I got some very strange output when I tried the following

1. $ curl http://web.1.c3.audiovideoweb.com/1c3web3536/StoryOfStuff.mov

I get some strange letters and something like <|<|<| (sort of a
triangle no progress bar)

Doing an -I shows the following

2. $ curl -I http://web.1.c3.audiovideoweb.com/1c3web3536/StoryOfStuff.mov
HTTP/1.1 200 OK
Content-Length: 56672796
Content-Type: video/quicktime
Last-Modified: Thu, 29 Nov 2007 19:13:39 GMT
Accept-Ranges: bytes
ETag: "44cee2f2bb32c81:3db"
Server: Microsoft-IIS/6.0
Date: Tue, 06 Jan 2009 13:50:47 GMT

Using the -O I was able to get some sort of progress bar.

3. $ curl -O http://web.1.c3.audiovideoweb.com/1c3web3536/StoryOfStuff.mov
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  9 54.0M 9 5313k 0 0 27511 0 0:34:20 0:03:17 0:31:03 37253

4. Trying the -# again gave me strange output (as given in the manual)

curl -# http://web.1.c3.audiovideoweb.com/1c3web3536/StoryOfStuff.mov

The manual I'm referring to is http://curl.haxx.se/docs/manual.html

There is always a possibility that there may be something I may have
done wrong.

Looking forward to guidance.

-- 
          Regards,
          Shirish Agarwal
  This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-01-06