Rank: Advanced Member Groups: Member
Joined: 3/16/2010 Posts: 101
|
Hi,
I use the AjaxUploader to allow the user to upload a single image and save it under a specific file name (say "logo.jpg"). I move the tempfile to the file with that name in a fileuploaded event handler where I also clear the posted files. This works great the first time, but if the user attempts to upload a new file, he receives an error message indicating that the "Logo.jpg" is used by another process.
Is there a way to make sure all resources are released after each upload is complete?
Thanks for your help
H
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
The AJAXUploader does not lock any files visible to you. So most likely it's a code error on your side.
Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 3/16/2010 Posts: 101
|
Understood. I'll look for it. Thanks for the superfast answer.
|