VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



File Upload Component for ASP Apps (includes demo)

by James Vincent Carnicelli (21 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (16 Votes)

Want anyone with a common web browser to be able to upload files to your ASP application? Here's a great little component to help you do it.

This component builds on the standard mechanism web browsers provide for uploading files. Since IIS doesn't provide any simple built-in way to deal with this, this component fills the void. Here's how simple your ASP code can be:


    Set Upload = Server.CreateObject("Carnicelli.FileUpload")

    Upload.Save "C:\Temp"

    Response.Write "<LI>" & Upload.Form("Email")

    Response.Write "<LI>" & Upload.File(1).FileName


I crammed a number of useful features for manipulating the resulting files, generating unique file names, and more.

This code teaches many programming lessons. It demonstrates MIME processing, array and string manipulation (includes powerful array and string manipulation libraries), generating unique file names, real-time stream processing, interfacing with IIS' built-in objects (e.g., "Request" and "Session") without help from the ASP code, binary file manipulation, processing with a finite-state-machine model, MTX (Transaction Server) components, and more.

Please comment on this code and vote for my hard work if you like this code.

--------------------------------------------------

Now there's a commercial version of this product available. It's been rebuilt from the ground up, correcting all the issues you've reported here and including new features. And it comes complete with extensive documentation and good service.

https://carnell.org/casper/component_package/FileUpload/', '_self')">Check it out!

Rate File Upload Component for ASP Apps (includes demo)

Download File Upload Component for ASP Apps (includes demo)

Download File Upload Component for ASP Apps (includes demo) (22 KB)

File Upload Component for ASP Apps (includes demo) Comments

No comments have been posted about File Upload Component for ASP Apps (includes demo). Why not be the first to post a comment about File Upload Component for ASP Apps (includes demo).

Post your comment

Subject:
Message:
0/1000 characters