Uploading a file to IIS using a browser (189651)
The information in this article applies to:
- Microsoft Internet Information Server 4.0
- Microsoft Internet Information Server 5.0
- Microsoft Internet Server Application Programming Interface (API)
This article was previously published under Q189651 SUMMARY
The specification in RFC 1867 "Form-based File Upload in HTML" describes the mechanism by which a file may be uploaded from a Web browser to the server. However, to implement this functionality it is necessary to provide of an server application capable of accepting the POST from a client browser. IIS does not accept data posted to the server but passes on the data to the server application which is responsible for appropriately handling the posted data. For those using earlier versions of IIS or wanting functionality beyond just writing the inbound file to disk, the following library is provided as a sample on how to implement the parsing mechanism.
Uploadext.exe is a sample ISAPI extension DLL that implements the necessary parsing routines to break up multi-part data forms. This self- extracting executable contains the necessary project files for an ISAPI Extension DLL using Microsoft Visual C++ 5.0.
To download this sample, visit the following Microsoft Web site: REFERENCES
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
184352
How to upload files to the Internet Information Server
Modification Type: | Major | Last Reviewed: | 11/15/2004 |
---|
Keywords: | kbfile kbhttp kbinfo KB189651 |
---|
|