Welcome Guest Search | Active Topics | Sign In | Register

AJAX Uploader Overwrite Options
Paulo Mondragon
Posted: Monday, July 14, 2008 3:22:05 PM
Rank: Advanced Member
Groups: Member

Joined: 6/4/2008
Posts: 38
When I upload a file I want the uploader overwrite the same name existing file, instead naming with the same name and MyFile_1, MyFile_2, etc.

It's there a way to do this ???

And other question, can I get the name of the files listed in the uploader. I want to know the names of the files the user upload.




Thanks a lot.
eo_support
Posted: Monday, July 14, 2008 3:28:11 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

The uploader won't overwrite the files for you. If you do need to override, you will need to clear FinalFileLocation and copy the files from TempFileLocation by yourself.

You will need to use PostedFiles to access all the files:

http://www.essentialobjects.com/ViewDoc.aspx?t=AJAXUploader%2fAJAXUploader_behavior.html

PostedFiles contains AJAXPostedFile object, which has all the file names you need.

Thanks


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.