Home All Groups Group Topic Archive Search About

using Page.Request.Files to get the name or ID of the input

Author
23 Dec 2005 12:45 AM
Darren Clark
I am trying to find the name of ID of the input item that coresponds to the
file that is being uploaded...

is there a way to do this?
Page.Request.Files[x].Name or

Page.Request.Files[x].ID

??? as they dont exsits... is there any other way ?

Author
23 Dec 2005 4:38 AM
Remy
This is a pretty good article:
http://www.codeproject.com/aspnet/fileupload.asp

If you use the HtmlInputFile object, you will have all the properties
in that object after the upload.

Remy Blaettler
www.collaboral.com

Bookmark and Share