cURL / Mailing Lists / curl-library / Single Mail

curl-library

Test of resuming PUT's with curl and mod-dav

From: Bob Schader <bobs_at_product-des.com>
Date: Thu, 25 Jan 2001 10:50:40 -0500

I finally had time to try this out, but I'm not sure how to tell
if it worked. My internal network is too fast for me to judge if it
actually resent the whole file or not, so I may have to try it
again later from home. Here is the verbose output of the commands
and logs files:

D:\>curl -u xxxx:xxx -I
http://smtp.product-des.com/public/incoming/revm001109.zip
HTTP/1.1 200 OK
Date: Thu, 25 Jan 2001 15:21:15 GMT
Server: Apache/1.3.9 (Unix) (NetRevolution Advanced
Server/Linux-Mandrake) mod_
ssl/2.4.1 OpenSSL/0.9.4 DAV/1.0.2 PHP/3.0.16
Last-Modified: Thu, 25 Jan 2001 15:18:05 GMT
ETag: "2dc01f-f4240-3a7043ad"
Accept-Ranges: bytes
Content-Length: 1000000
Connection: close
Content-Type: application/zip

D:\>curl -u xxxx:xxx -T revm001109.zip -C 1000000
http://smtp.product-des.com/public/incoming/revm001109.zip -v
* Connected to serv1.product-des.com (206.249.182.92)
> PUT /public/incoming/revm001109.zip HTTP/1.0
Authorization: Basic
Range: bytes=1000000-
User-Agent: curl/7.5.2 (win32) libcurl 7.5.2
Host: smtp.product-des.com
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Content-Length: 1633029

  % Total % Received % Xferd Average Speed Time
Curr.
                                 Dload Upload Total Current Left
Speed
100 1594k 0 0 100 1594k 0 658k 0:00:02 0:00:02
0:00:00 530k

D:\>

From the apache logfile:
pdi22.product-des.com - xxxx [25/Jan/2001:10:27:05 -0500]
"PUT /public/incoming/revm001109.zip HTTP/1.0" 204 0 "-"
"curl/7.5.2 (win32) libcurl 7.5.2"

I question this actually resumed because in the past, when I have
resumed
ftp uploads, the progress only indicated the additional bytes sent, not
the entire filesize, but perhaps something has changed.

Bob Schader

Bob Schader wrote:
>
> I will give this a try on my server and report the results back
> later today.
> Bob
>
> Daniel Stenberg wrote:
> >
> > On Wed, 24 Jan 2001, Bob Schader wrote:
> >
> > > "curl -T PART -C SIZE URL -v"
> >
> > > Is this something that should work in the current version of curl, or
> > > does it need modification to support it? I can test it on my server if
> > > needed.
> >
> > It isn't anything new, it should work with pretty much any version.
> >
> > --
> > Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
> >
______________________________________________________________________
Bob Schader
Computer Systems Manager
Product Design International, Inc.
4880 36th St. SE, Suite 100
Grand Rapids, MI 49512

Voice: (616) 667-2600 x104
Fax: (616) 667-2692

_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-01-25