Re: Upload a File using the request.POST data

2010-09-26 Thread Sam Lai
On 27 September 2010 14:31, Danny Bos wrote: > There is no form, it's entirely Javascript. > Spoke to the creator of the script, who has popped up script examples > for PHP and ColdFusion he reckons: > > "You basically have to put the whole post contents into a file." Hmm... a little difficult se

Re: Upload a File using the request.POST data

2010-09-26 Thread Danny Bos
There is no form, it's entirely Javascript. Spoke to the creator of the script, who has popped up script examples for PHP and ColdFusion he reckons: "You basically have to put the whole post contents into a file." Not altogether helpful, eh? d On Sep 27, 1:52 pm, Sam Lai wrote: > Have you got

Re: Upload a File using the request.POST data

2010-09-26 Thread Sam Lai
Have you got the right attribute in the form? >From http://docs.djangoproject.com/en/dev/topics/http/file-uploads/ "Note that request.FILES will only contain data if the request method was POST and the that posted the request has the attribute enctype="multipart/form-data". Otherwise, request.FI

Re: Upload a File using the request.POST data

2010-09-26 Thread Danny Bos
Can it even be done? It seems pretty ordinary but everything I'm trying expects it to be a request.FILE. Frustrating stuff. d On Sep 27, 11:24 am, Danny Bos wrote: > Heya, > > I'm using the 'Valums File Uploader' which passes the file in the > request.POST as you can see below. I'm wondering h