On Fri, 13 Dec 2019 03:54:53 +1100
Chris Angelico <ros...@gmail.com> wrote:

> On Fri, Dec 13, 2019 at 3:44 AM Karthik Sharma
> <karthik.sha...@gmail.com> wrote:
> >
> > Is it really possible to transfer a large binary file from my
> > machine to the above httpserver via POST command and download it
> > again? If yes, is the above Flask app enough for that and what am I
> > doing wrong?  
> 
> I think your Flask code is okay (haven't checked in detail, but at
> first glance it looks fine), but for file uploads to be recognized in
> request.files, you'll need to change the way you run curl.

BTW, the canonical way to upload files via http is PUT, not POST. You
might want to look into that, but here it is off-topic.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to