[Answered ]-Server side problems saving a file uploaded using requests.POST

0👍

Try the following instead of writing chunk by chunk:

dest.write(ufile)

The ufile object is a string, not a file handle.

2👍

Files are not in request.POST, they are in request.FILES.

But you probably want to read the file uploads documentation.

0👍

Had the same issue..
You should delete “Content-type” from request header, and your file will appear in request.FILES, then you can work with <TemporaryUploadedFile>

I think this answer not relevant for @jaysonpryde, but maybe will help someone else.. 🙂

👤KravAn

Leave a comment