in reply to Unlink doesn't work on first file
You don't mention what Operating System you're uploading files to, and the OS matters. On Win32, you won't be able to delete a file if some process has it open. Is it possible that you've opened the first file for some reason, and have forgotten to close it before trying to unlink it?
|
|---|