Re: File upload from client application (non-form based upload)

2006-11-24 Thread Gabriel Genellina
At Wednesday 22/11/2006 09:08, [EMAIL PROTECTED] wrote: I'm trying to write a Python script to receive and save a file on a web server that has been POST'ed from a client application. In essence, this is similar to handling a file upload from an HTML form. However, I can't use: form = cgi.Fiel

File upload from client application (non-form based upload)

2006-11-22 Thread stuart
Hi I'm trying to write a Python script to receive and save a file on a web server that has been POST'ed from a client application. In essence, this is similar to handling a file upload from an HTML form. However, I can't use: form = cgi.FieldStorage() fileitem = form['file'] since the file is n