Monday, July 18, 2005

Upload File in ASP environment without using Post Acceptor

Using Post Acceptor has always be a problem, because of the following drawbacks:

1. Session will be disconnected. That is, session variable will not be available.
2. Need to install CPSHOST.DLL on the IIS server and change the Registry entry. This is not portable and not easy to deploy the Web applications.
3. Not Reliable.

Click here to get the FilePost.htm and FilePost.asp which does the File Post job by the ASP code itself, so the above problems are automatically resolved.

The way to use FilePost.asp is very similar to the way we use PostAcceptor. It takes TargetURL as the file upload URL (default is the current virtual dir). Multiple files uploads are allowed.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home