Hey Alec,

2011/10/2 Alec Taylor <alec.tayl...@gmail.com>:
> Good afternoon,
>
> Can you give me some suggestion/example-code for:
>
> 1. Upload file to DB using DBO (server-side modification before db transfer)

After getting the file using WFileUpload, you should decide how to
store the file in the database. Currently Wt::Dbo does not support
streaming database APIs, so you'll need to use a std::vector<unsigned
char>. If that's not acceptible, file a ticket :-)

> 2. Present uploaded (modified) file to user (.xml)

You can use a specialized WResource, which reads the file from the
database just before streaming it to the user.

Regards,
koen

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to