cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl -C bigfile http://gert:passwd@192.168.2.17/upload.wsgi

From: Gert Cuykens <gert.cuykens_at_gmail.com>
Date: Sun, 26 Jul 2009 22:59:20 +0200

On Sun, Jul 26, 2009 at 10:50 PM, Daniel Stenberg<daniel_at_haxx.se> wrote:
> On Sun, 26 Jul 2009, Gert Cuykens wrote:
>
>>>> Can you give me instructions what I need to send back to curl so it will
>>>> resume the upload?
>>>
>>> Resume what upload?
>>>
>> works
>> curl -T bigfile http://gert:passwd@192.168.2.17/upload.wsgi
>
> That's a HTTP PUT to a particular URL. It's impossible for me to tell how to
> continue that. Possibly you can use -C [position].
>
>> doesn't work because my script does not provide the information curl
>> needs to continue a canceled upload
>> curl -C bigfile http://gert:passwd@192.168.2.17/upload.wsgi
>
> That's completely wrong syntax to start with so it won't work of that reason
> (too). -C wants a dash or a number. And for HTTP uploads it can't figure out
> where to start by itself so you must provide a number.
>

 ok i see, is there a option for curl to ask the server for a offset number ?
-------------------------------------------------------------------
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-07-26