This ASP component saves uploaded files on the server when they have been attached to a browser form.
There are many web applications where it is useful to collect one or more files from a web site visitor. It is always an advantage to make this process as simple as possible. Web browsers have supported file uploads for a long time but they do not save the file directly on the server, instead they post it by HTTP to a server side script or cgi which needs to save the file. Classic ASP needs a component like csASPUpload to save this file, and to read the form variables that may be sent at the same time.
csASPUpload allows files to be collected and saved on the server and it also provides information about those file. The files can be saved to disk or they can be exported as a binary data stream which means the file can be saved straight into a database.
This data streaming feature can also export a file straight into the csImageFile component for server side image manipulation, creation of thumbnails etc. The two components can work together to save uploaded images.
The full features of csASPUpload can be seen by reading the online instruction manual. These instructions are also included in the zip file with the trial component in both PDF and HTML format.
This component must be registered on the server before it can be used. It is available as a 32 bit or 64 bit component.
Existing users can upgrade to the latest version - Click for details.
- Available examples of using csASPUpload:
- Upload to a database - the uploaded file is stored as raw data in a database.
- Upload files to disk - the uploaded files are stored to disk and can be viewed and deleted.
- Examples of using csASPUpload with csImageFile:
- Upload to a database and resize - an image is resized and stored as raw data in a database.
- Upload to disk and resize - an image is resized and stored on disk.
- Live demo uploading an image - the image is resized and displayed.
csASPUpload also contains some HTTP functions which allow a script using the component to send a file to a remote server as an HTTP post, and also to receive a file from a remote server as a download. A username and password can be included if the remote server uses authentication. Form variables can be added for the upload as well as the download. Files can be uploaded from a binary variable or downloaded into a binary variable.
Other File Upload Products
Visit our upload products page for a summary of the client and server side components that we have for transferring files between client and server, or between two servers.