|
Boost Users : |
From: Bill Moo (mookimoo73_at_[hidden])
Date: 2020-03-24 08:09:14
Thanks, I'll check it out and if anyone should know it will be
yourself. :-) Thank you for your time.
-- Bill On Mon, 23 Mar 2020 at 16:22, Vinnie Falco <vinnie.falco_at_[hidden]> wrote: > > On Mon, Mar 23, 2020 at 8:05 AM Bill Moo via Boost-users > <boost-users_at_[hidden]> wrote: > > Is there a working example anywhere of how I can capture > > and save a file uploaded to the server by a user please. > > I don't think there's an example, but it is as easy as: > > http::request<http::string_body> req; > http::read( sock, buf, req ); > > When the read returns, `res.body()` will hold the contents of the uploaded file. > > Thanks
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net