Not getting all keys in FieldStorage (Multipart form data)
vivek kumar
gupt_vive at hotmail.com
Thu Jun 5 02:52:09 EDT 2003
today morning I searched again with string "python file upload" on google
and found the June 2002 mail archive at:
http://mail.python.org/pipermail/python-list/2002-June/subject.html#110446
there is a thread named "python file upload". I found the solution for
uploading the binary files there. :-) Actually I am using win2k, so I have
to use -u option as described at:
http://www.python.org/cgi-bin/faqw.py?req=show&file=faq07.012.htp
But the original problem is still there. I have tried hidden input values
also but they still doesn't show up in the FieldStorage :-(.
TIA and Kind Regards
Vivek Kumar
>From: "Graeme Matthew" <gsmatthew at ozemail.com.au>
>To: "vivek kumar" <gupt_vive at hotmail.com>
>Subject: Re: Not getting all keys in FieldStorage (Multipart form data)
>Date: Wed, 4 Jun 2003 23:19:33 +1000
>
>sorry , ill look tommrow at work and get it and email to u, cos i spent
>ages
>looking for a solution
>
>
>----- Original Message -----
>From: "vivek kumar" <gupt_vive at hotmail.com>
>To: <gsmatthew at ozemail.com.au>; <python-list at python.org>
>Sent: Wednesday, June 04, 2003 11:17 PM
>Subject: Re: Not getting all keys in FieldStorage (Multipart form data)
>
>
> > >From: "Graeme Matthew" <gsmatthew at ozemail.com.au>
> > >To: "vivek kumar" <gupt_vive at hotmail.com>
> > >Subject: Re: Not getting all keys in FieldStorage (Multipart form data)
> > >Date: Wed, 4 Jun 2003 22:56:00 +1000
> > >
> > >sorry, the code i use is at work andits been a while what about ?
> >
> >shutil.copyfileobj(base64.encode(form['book_image'].file.read()),destinatio
>n
> > >,1024)
> >
> > encode takes two inputs : the input file and the output file. Anyway I
>tried
> > that also but it still didn't worked :-(. I tried base64.encodestring
>also
> > but :-(.......
> >
> > Thanks and Kind Regards
> > Vivek Kumar
> >
> > _________________________________________________________________
> > Race along with NK. The fastest Indian
> > http://server1.msn.co.in/sp03/tataracing/index.asp Feel the thrill!
> >
> >
>
_________________________________________________________________
Staying fit. It's about being happy!
http://server1.msn.co.in/features/stayingfit/index.asp Check out the new
mantra.
More information about the Python-list
mailing list