curl-users
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 15:03:59 +0200
Date: Sun, 26 Jul 2009 15:03:59 +0200
def application(environ, response):
with open('/usr/httpd/logs/wsgiTemp','w') as f:
while True:
chunk = environ['wsgi.input'].read(8192).decode('latin1')
if not chunk: break
f.write(chunk)
response('200 OK',[])
return ['complete']
Can you give me instructions what I need to send back to curl so it
will resume the upload?
-------------------------------------------------------------------
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