|
To ease development you can specify whether the paths you supply
to any ABCUpload method are absolute or virtual. An absolute pathname
is a physical path to a file location. For example:
C:\inetpub\wwwroot\mysite\images\mypic.jpg
A virtual pathname is a URL specifying a pathname relative to the
current page being processed. For example:
../images/mypic.jpg
Because most uploaded files are saved out into a virtual directory
the default behavior is to treat pathnames as virtual. You can change
this by changing the value of the AbsolutePath property.
The following code:
theForm.AbsolutePath = False
theForm.Save "../dumps/myupload.dat"
... is functionally equivalent to:
theForm.AbsolutePath = True
theForm.Save Server.MapPath("../dumps/myupload.dat")
|