I am trying out the process of uploading a file from a browser to the IIS 5 server. I have installed the MS Posting Acceptor (cpshost.dll) and the file exists in the C:/InetPub/Scripts folder. I restarted IIS after the installation.
The Code for Posting the file is
<FORM EncType="multipart/form-data" ACTION="http://localhost/Scripts/cpshost.dll?PUBLISH? http://localhost/Exprmnt/FileRecv.asp" METHOD="Post">
<TABLE WIDTH="60%" BORDER=2 ROWS=2 COLS=2>
<TR> <TD><B>Select The File To Upload</B></TD>
<TD><INPUT TYPE="File" NAME="File1" id="File1"></TR>
<TR><TD COLSPAN=2 Align="Middle"><INPUT TYPE="Submit" NAME="Upload" VALUE="Upload"></TD></TR>
</TABLE>
</FORM>
After clicking the upload button, I am getting a Blank page with the title "Upload Status" and the address bar shows
ht tp://localhost/Scripts/cpshost.dll?PUBLISH?http://localhost/Exprmnt/FileRecv.asp
But the code in the FileRecv.asp page is not getting executed.
What am I doing wrong ?
{Note: I made changes to the url addresses in this post because the display was incorrect. It is actually http and NOT ht tp in the address bar }