AE Posting Acceptor (AEPA) library implements server-side support for file uploading in Microsoft Internet Information Server. In contrast with Microsoft Posting Acceptor, this library realizes some extremely useful features for Intranet/Extranet use. With AEPA you may:
The main idea AEPA implements is parsing raw HTML form data stream sent with POST request. To use this feature data stream should be encoded with "multipart/form-data" method.
The server-side script handles this data with AEPA.Acceptor COM object. The most typical scenario is to create object using Server.CreateObject() method:
<% DIM Accepror, RequestSize Set Acceptor = Server.CreateObject("AEPA.Acceptor") RequestSize = Request.TotalBytes Acceptor.ProcessRequest(Request.BinaryRead(RequestSize)) If Acceptor.VarValue("Variable1")&""<>"" then ... end If %>
As you can see from this sample, using AEPA.Acceptor object is quite simple.
The demo version of AE Posting Acceptor library is available for download. This demo has the same features as release version. The only restriction is the number of calls to AEPA.Acceptor core method is limited to 100. To reset counter you will need to reload AEPA.DLL library. This will be done automatically if you restart IIS server and all programs that reference to AEPA library.