Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

File Upload

I've heard that ASP+ has some built in features to work with files uploaded
to a server as multipart/form-data. Anybody have any specifics on this?
[156 byte] By [Marc] at [2007-11-9 16:23:59]
# 1 Re: File Upload
Hey Marc,

Check out the documentation on the htmlInputFile Class. It gives you programmatic
access to the <input type=file> html element on the server. Some useful
properties are 'Accept' which allows you to restrict uploads to a certain
type i.e.
images. 'PostedFile', which gets access to the uploaded file.

I haven't used this control in ASP+ yet, but it is on the agenda in the next
week or so. I'll let you know when we get a nice working model/example up!

Take care,

______________________________________
Don R. Wolthuis, MCSD
CodeJunkies.Net / ASPNextGen.com
don.wolthuis@codejunkies.net

Visit www.ASPNextGen.com or www.theFutureOfASP.com, both brought to you exclusively
by CodeJunkies.Net, for tutorials and information on ASP+ - the next generation
of Active Server Pages.

http://www.codejunkies.net

"Marc" <mmandel2@san.rr.com> wrote:
>
>I've heard that ASP+ has some built in features to work with files uploaded
>to a server as multipart/form-data. Anybody have any specifics on this?
Don Wolthuis at 2007-11-11 23:26:17 >