in reply to File Upload

Probably the best way to diagnose this is to make sure you have error checking after everything that can fail, and then look in your error logs to see what failed.