Welcome Guest Search | Active Topics | Sign In | Register

AjaxUploader Question Options
Craig
Posted: Saturday, June 9, 2007 10:42:20 AM
Rank: Member
Groups: Member

Joined: 6/8/2007
Posts: 13
Bit of a newbe when it comes to Ajax and file uploads using ASP. But if include this control onto my website, how to I actually save the file to the server, as i cannot find any documentation on this site about it putting temp files in a directory.

Do you have small code sample i can look at, which would demonstrate what needs to be done to save the uploaded file(s) to the server.

Regards

Craig
eo_support
Posted: Saturday, June 9, 2007 3:12:10 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Hi Craig,

AJAXUploader automatically saves the file into a temp path that you specified by TempFileLocation:

http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.AJAXUploader.TempFileLocation.html

Once you set this property, you will then be able use PostedFiles property to get a list of posted file, each of them represented by an AJAXPostedFile object. You will then use this property:

http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.AJAXPostedFile.TempFileName.html

To get the temp file name.

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.