How to use ASPUpload? Print

  • 1080

AspUpload is a COM+
component which enables an ASP application to capture, save and process files
uploaded to the web server with a browser. The files are selected for uploading
via an HTML POST form using the <INPUT TYPE=FILE> tag.
With AspUpload,
you can add file upload functionality to your Web application in as little as 2
lines of ASP script. In addition to uploading, AspUpload offers a wide range of
file management functions, including secure downloading, saving files in the
database, permission and attribute management, image size extraction, file
encryption, etc.

Sample Codes:

1. <HTML>
2. color=coral><BODY>
3. <%
4.
Set Upload = color=lightcoral>Server.CreateObject("Persits.Upload")
5.
Count = Upload.Save("c:upload")
6. Response.Write
Count & " file(s) uploaded to c:upload"
7. color=royalblue>%>
8. </BODY>
9.
</HTML>


Explanation According to Line

1. Open HTML tag




2. OpenBODY tag



3. Open ASP tag

4. Create instance ofUpload control

5. Save upload

6. Produce message

7.Close ASP tag
8.Close BODYtag
9.Close HTML tag


For further information, please refer to :


Was this answer helpful?

« Back

Powered by WHMCompleteSolution