UPloadFile (2)




<html>
<body>
<form enctype="multipart/form-data" action="/scripts/cpshost.dll?PUBLISH" method="POST">
<center><table>
<tr>
<td align="left">File To upload</td>
<td align="left"><input name="file" type="file" size="20"></td>
</tr>
<tr>
<td align="left">Destination URL</td>
<td align="left"><input name="TargetURL" value="/uploads/" size="20">
<input type="Submit" value="Upload..."></td>
</tr>
<table></center>
</form>
</body>
</html>
STEP ONE:
Install Microsoft Site Server 2.0, Sub component -
Posting acceptor 1.01 (These tools come With NT Option pack,
but are Not installed by default.)

STEP TWO:
Make sure you have the file cpshost,dll under the scripts
folder On your IIS folders

STEP THREE:
Create a virtual directory named uploads and give it rights
to be written on, plus point it to the folder where you want
the files to be added on. Place the code bellow In the scripts
folder and run it:










( uploadfile2.html )- by Paolo Puglisi - Modifica del 17/12/2023