2010/2/22  <[email protected]>:
>  hi:
>   how I rename and move upload->spoolFileName() to my upload folder.for
> example  "upload/myfilename.doc"
>

Hi,

upload->stealSpooledFile(); // spoolfile is now no longer managed by WFileUpload
rename(upload->spoolFileName().c_str(), "upload/myfilename.doc");

BR,
Wim.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to