Posting Acceptor Components

Two sample pages are provided with the Posting Acceptor server add-on: one designed to accept multi-part/form-data method posts from Netscape Navigator, and one to provide the ActiveX Upload control for Microsoft Internet Explorer users. You can modify these pages to fit your needs.

The Active Server Pages (ASP) file (upload.asp) detects the type of incoming browser and routes the user to the appropriate sample page. If the user has a browser that supports ActiveX controls, he or she is routed to the page containing the ActiveX Upload control. If it is not yet installed, the user’s system is automatically updated with the control. The following table describes the functions of the components, including sample pages, that make up Posting Acceptor.

Component

Description

Function

Posting Acceptor ISAPI

cpshost.dll

ISAPI application; core component of Posting Acceptor

Receives posted files from the content providers and saves them to the disk according to the TargetURL.

CRS Mapping Module

crsmapr.dll

A module responsible for mapping TargetURLs into physical locations on the hard disk

Queries CRS for all MapURLs and compares them with the TargetURL. If a match is found, physical location on the hard disk is reported back to Posting Acceptor.

File System Mapping Module

Built-in cpshost.dll

A module responsible for mapping TargetURLs into physical locations on the hard disk

Queries IIS (or PWS) for a mapping between the TargetURL and a physical location on the hard disk.

ActiveX Upload control

flupl.cab

An ActiveX control that when embedded in a Web page can be used to post content files

Users can drag and drop files and folders or double-click the control to select files and folders to upload to your Web server.

Sample page for clients using HTTP (for example, Netscape Navigator) to post content

uploadN.asp

An Active Server Pages (ASP) file containing a form with HTTP Post (RFC 1867)–specific fields in which to post files

Can be used by any HTTP Post (RFC 1867) Web browser (for example Netscape Navigator) to upload files to your server.

Sample page for clients using the ActiveX Upload control to post content

uploadX.asp

An Active Server Pages (ASP) file containing the ActiveX Upload control (flupl.cab).

Enables browsers supporting ActiveX to post files and folders to your server via the ActiveX Upload control (flupl.cab).

Active Server Pages (ASP)

upload.asp

An Active Server Pages (ASP) file that determines the type of client browser and refers it to the appropriate content-uploading form, either uploadN.asp or uploadX.asp

If the browser supports ActiveX controls, it is automatically referred to uploadX.asp when it hits this page. If the browser does not support the controls, it is referred to uploadN.asp

ASP PostInfo file

postinfo.asp

The PostInfo file that is retrieved by WebPost to automatically configure client software for posting content

The PostInfo file contains the PostingURL and the TargetURL that WebPost uses to post content to your server.

Postinfo.eg file

A file located in your www root directory

Postinfo.eg is an "example" file of a line that needs to be added to default.htm so that WebPost can locate the "PostInfo" file. Setup adds this line to your default.htm (home) file.


© 1996-1997 Microsoft Corporation. All rights reserved.