Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

One more file upload question...

Status
Not open for further replies.

M3Fan

Programmer
Dec 28, 2001
73
US
Ok, I have installed the Microsoft Posting Acceptor add-on to my IIS 4 on an NT server and I have gotten it to work. However, the way it works is an HTML form submits the file name to a DLL, CPSPOST.DLL. That doesn't give me many options for doing anything with capturing the file name, putting it into a database, or customizing the .DLL's output screen. Is there a way to modify this DLL to do other things after processing the file upload? Right now it's pretty generic. Here is the form so you can see the action of it. Again, this works, but I want to be able to customize the processing of the file more.

<form enctype=&quot;multipart/form-data&quot; name=&quot;filesubmitform&quot; action=&quot;cpshost.dll?PUBLISH&quot; method=&quot;POST&quot;>
<center><table>
<tr>
<td align=&quot;left&quot;>File to upload</td>
<td align=&quot;left&quot;><input name=&quot;file&quot; type=&quot;file&quot; onmouseover=&quot;this.size=&quot;20&quot;></td>
</tr>
<tr>
<td align=&quot;left&quot;>Destination URL</td>
<td align=&quot;left&quot;><input name=&quot;TargetURL&quot; value=&quot;/uploads&quot; size=&quot;20&quot;>
<input type=&quot;Submit&quot; onclick=&quot;tellcontents()&quot; value=&quot;Upload...&quot;></td>
</tr>
<table></center>
</form>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top