Hi  got an error when I used this code

std::ofstream f("result.dat");
    std::copy(it->getBodyBegin(), it->getBodyEnd(),
    std::ostreambuf_iterator<char>(f));

I want to save the uploaded file to disk

How to I fetch the name of the uploaded file?

Thank you
Dexter



-- 
...at the entrance gate of Heaven!
------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to