|
I have a HTML form created that gives the ability to browse for a file and then upload it. I am stuck on creating the VBScript that actually will take it and save it to the specified directory on the server. Can anyone give me some pointers on how to do this?
My form looks like this:
<form action="http://10.30.61.252/upload.asp"
enctype="multipart/form-data" method="post">
<p>
Personal Firewall Deployment Questionnaire
</p>
<p>
Please browse to the location of the Questionnaire to upload:
<input type="file" name="datafile" size="40">
</p>
<p>
<input type="submit" value="Send">
</p>
</form>
I need to create the upload.asp page that has the VBScript in it to take the file once submitted from the form and write it to D:\SOC\Documents\PFW\Questionaire
Any pointers appreciated. I have never used VB before, I am very new to just HTML.
Thanks.
Last edited by jpkennedy79; 10-07-2004 at 08:46 PM..
|