Welcome Guest Search | Active Topics | Sign In | Register

AJAXUploader - files get locked Options
quirtep
Posted: Wednesday, September 21, 2011 6:17:12 PM
Rank: Advanced Member
Groups: Member

Joined: 9/6/2007
Posts: 133
When using the AJAXUploader control, my files are locked so that I cannot delete them manually or programatically. Here is the very simple code I am using to upload:

EO.Web.AJAXPostedFile[] files = AJAXUploader1.PostedFiles;
foreach (EO.Web.AJAXPostedFile file in files)
File.Move(file.TempFileName, Server.MapPath("/_eventPhotos") + "/" + hfEventID.Value + ".jpg");
quirtep
Posted: Wednesday, September 21, 2011 7:46:54 PM
Rank: Advanced Member
Groups: Member

Joined: 9/6/2007
Posts: 133
Disregard - I think I know the cause - sorry to bother...


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.