cURL / Mailing Lists / curl-users / Single Mail

curl-users

webdav and curl

From: Sebastien WILLEMIJNS <sebastien_at_willemijns.com>
Date: Thu, 18 Dec 2008 19:14:29 +0100

hello,

download a file by webdav works well (no message but it works)...

curl.exe --user willemijns:pass -T sync.exe
http://files.ofile.com:80/webdav/

... but i'm surprising they are no progress bar in upload as classical
FTP, the size is known so the progress can be easily done no ?

********************************

D:\aef>curl.exe --user willemijns:xxxxxxxxxxxxx -T 2sync.exe
http://files.ofile.com:80/webdav/ --trace-ascii goo.txt

D:\aef>del 2sync.exe

D:\aef>curl.exe --user willemijns:xxxxxx
http://files.ofile.com:80/webdav/2sync.exe >2sync.exe
  % Total % Received % Xferd Average Speed Time Time Time
  Current
                                 Dload Upload Total Spent Left
                                 Speed
100 146k 100 146k 0 0 89056 0 0:00:01 0:00:01 --:--:--
 107k

*****************************************************************

== Info: About to connect() to files.ofile.com port 80 (#0)
== Info: Trying 66.118.231.92... == Info: connected
== Info: Connected to files.ofile.com (66.118.231.92) port 80 (#0)
== Info: Server auth using Basic with user 'willemijns'
=> Send header, 256 bytes (0x100)
0000: PUT /webdav/sync%2Eexe HTTP/1.1
0021: Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
0054: User-Agent: curl/7.19.1 (i586-pc-mingw32msvc) libcurl/7.19.1 Ope
0094: nSSL/0.9.8i zlib/1.2.3
00ac: Host: files.ofile.com
00c3: Accept: */*
00d0: Content-Length: 150328
00e8: Expect: 100-continue
00fe:
<= Recv header, 23 bytes (0x17)
0000: HTTP/1.1 100 Continue
=> Send data, 16384 bytes (0x4000)
0000: MZ......................@.......................................
0040: ........!..L.!This program cannot be run in DOS mode..
0078: $..........5T..fT..fT..f/..fU..f...fU..f...fX..f...f{..f...f_..f
00b8: T..f...f...fU..fb..fV..fRichT..f................PE..L...LX.D....
00f8: .............P...........#.......`....@.........................
0138: .P......2........................................e..x....@......
-------------------------------------------------------------------
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 2008-12-18