Your upload.asp page should contain code to decode the uploaded
file and save it out in a web friendly format. First we find the
physical path to the place we are going to save the file.
[VBScript]
path = Server.MapPath("../images/picture.jpg")
Next we get the uploaded information out of the request. Under
ASP we have to use the ABCUpload XForm object to do this because
the standard Microsoft Request object does not support multipart
forms.
[VBScript]
Set xf = Server.CreateObject("ABCUpload4.XForm")
Set field = xf("filefield")(1)
|