Welcome Guest Search | Active Topics | Sign In | Register

AjaxUploader file used by another process Options
Hub
Posted: Thursday, November 3, 2011 9:55:28 AM
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
eo_support
Posted: Thursday, November 3, 2011 9:58:52 AM
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!
Hub
Posted: Thursday, November 3, 2011 10:04:20 AM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Understood. I'll look for it.
Thanks for the superfast answer.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.