Drag and drop file uploads in CMS

All my CMSs just use standard file uploads. I put together a demo using XMLHTTPRequest2 and really like it. The problem is though the file is likely uploaded before the form is submitted. So if the user navigates away the file has uploaded but isn’t attached to data in the CMS database effectively leaving it in limbo.

Are there any best practices here? I’m thinking if I use this method I’d create a tmp-uploads folder (not to be confused with the tmp folder PHP uses) and when the CMS form is submitted copy from the tmp-uploads folder to its more permanent place (e.g. /files/news). Then run a CRON job or have an option in the CMS to clear tmp-uploads.

How do you handle it? Do you favour the fancier uploads to the standard ones?

As an aside, does XMLHTTPRequest2 mean that a) you don’t need Flash and b) you get more info about the file on the client side? The browser support for XMLHTTPRequest2 looks pretty good now.