ASP Upload (Windows 2000 only)



 
What browsers are compatible with .asp files?
You may use the following browsers (RFC 1867-compliant) to upload files:
Back to Top


 
How do I upload to a data directory?
You may upload up to three files and the corresponding asp script to a data directory by creating the following HTML form:
Back to Top
 

How do I upload to a database?

You may upload three files to a database by creating the following HTML form:


          <% Set Upload = Server.CreateObject ("Persits.Upload.1")


%>

 
Note: The "_" at the end of a line is the end of that line and no more code should follow on that line as it is a signal to ASP that this string of code follows on the next line.

Back to Top


 
How do I upload an image from my database to a web page?
To include an uploaded image from your database in a web page you can use a regular <IMG> tag in your HTML page with the SRC attribute pointing to the asp script. Please see the following examples:


%>

Back to Top



Which methods and properties are disabled for ASP Upload?
The UploadManager.Save method is disabled.
 
Note: When the UploadManager.Save method is disabled, ASP Upload users will have to use the SaveVirtual method. That method accepts a virtual, rather than physical, directory as an argument. This way, users will be confined to their own virtual directory and subdirectories.
 
The UploadManager.FileCopy and UploadedFile.Copy methods are disabled.
 
Note: When the UploadManager.FileCopy and the UploadedFile.Copy methods are disabled, the users will be forced to use UploadedFile.CopyVirtual.
 
In addition to the above-mentioned methods, the following methods are also disabled:
 
UploadManager.LogonUser
UploadManager.RevertToSelf
UploadedFile.AllowAccess
UploadedFile.DenyAccess
UploadedFile.RevokeDenial
UploadedFile.RevokeAllowance
UploadedFile.SetOwner
UploadManager.RegisterServer
UploadManager.RemoveDirectory
UploadManager.DeleteFile
UploadManager.SendBinary