[thelist] free asp file upload component
Sarah Sweeney
poohbear at designshift.com
Fri Jan 16 10:37:38 CST 2004
> Moving/Copying/Deleting files you're dealing with the file system, which
> is why you use the FSO to handle it. When uploading files you're using
> a multi-part form submission, which you need to fiddle with to get the
> files from. It is something you can do purely through script, if you
> understand the rfc for that form of file transmission. All that file
> upload components are doing for you is hiding that plumbing away from
> you (and hopefully running faster).
>
> When you move to ASP.net you'll discover that M$ have addressed that
> problem and you can now save an uploaded file in one line of code:
>
> File.PostedFile.SaveAs("MyFilePath\MyFileName")
>
> Norman
Thanks, Norman, that makes sense. What I really don't understand is why
MS didn't include some kind of object to handle this as part of the ASP
engine, since it's something that developers use a lot. But I guess only
the good folks at Microsoft can answer that question :)
Sarah
More information about the thelist
mailing list