|
Rank: Newbie Groups: Member
Joined: 2/7/2011 Posts: 5
|
I have a question about EO Ajax uploaded?
When I browser for a file and click on the upload button can I rename the file name? And than store the file in the location?
|
|
Rank: Newbie Groups: Member
Joined: 2/7/2011 Posts: 5
|
I have a question about EO Ajax uploaded?
When I browser for a file and click on the upload button can I rename the file name? And than store the file in the location?
|
|
Rank: Newbie Groups: Member
Joined: 2/7/2011 Posts: 1
|
You can do so in the server side code.
IO.File.Move("UPLOADEDFILENAME", "NEWFILENAME")
UPLOADEDFILENAME would be either the FinalFileName or TempFileName depending on when you access it.
NEWFILENAME would be your new file name.
Dont forget the Server.MapPath() to get relative to the website root
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
To Phil: Thanks for answer the question. To ritesh: Here are some additional information: http://doc.essentialobjects.com/library/1/ajaxuploader/ajaxuploader_behavior.aspxPlease do not post the same question multiple times in the forum. You have posted this question three times. Posting the same question multiple times will NOT expedite your question. Rather it is considered abuse and we may ban your account if you do so again in the future. Thanks!
|
|