Check a Domain Name 
Client Login  
 
 
Overview
ASP component to manage uploads to and downloads from your web site.

User Manual
The user manual for this component can be found at:
http://www.aspupload.com/manual.html

Example
Set Upload = Server.CreateObject("Persits.Upload")

' Limit file size to 50000 bytes, throw an exception if file is larger
Upload.SetMaxSize 50000, True

' Intercept all exceptions to display user-friendly error
On Error Resume Next

' Perform upload
Upload.Save "c:\upload"

' 8 is the number of "File too large" exception
If Err.Number = 8 Then
   Response.Write "Your file is too large. Please try again."
Else
   If Err <> 0 Then
      Response.Write "An error occurred: " & Err.Description
   Else
      Response.Write "Success!"
   End If
End If
 
             Copyright ®2010 Terrasite.com      Home   l    Service Agreement   l    Acceptable Use Policy   l    Privacy Policy Wednesday, September 08, 2010