From: Dean M. B. <mik...@gm...> - 2011-02-24 04:53:09
|
Hi Sever, On Thu, Feb 24, 2011 at 9:50 AM, Severin Pappadeux <pap...@gm...> wrote: > Hi, All > Ubuntu 10.10 64bit, gcc-4.4 > Build BOOST 1.46, and on top of it cpp-netlib 0.8.1. > The only thing I did was to declare to use BOOST_FILESYSTEM version 2, got > one issue: > some tests didn't do good, but when I tried them manually, seems to work > (well, except MIME parser). Yeah, the MIME stuff is currently un-maintained but last I checked is practically functional. > Now question: > could I use the code to push files forth and back? Fielserver.cpp seems to > be good point to start to get data back, but could I push it > from client to server to store data? You can definitely use the HTTP client(s) in cpp-netlib to push data via PUT/POST -- you just have to craft the appropriate requests. At the moment the way to do it is terribly inefficient, and I hope to be able to address those issues soon. Having said that, the fileserver example can be extended to support PUT/POST, but it wouldn't be a simple example anymore if I do that. ;) > thank you Thanks for trying it out. In case you have any more questions please feel free to ask on the list again and we'll try to help you out as soon as we can. :D -- Dean Michael Berris about.me/deanberris |