Upload a file and save to a location
I need to create a web page where I can upload a file and save to a folder in any location.
I used the following code below:
I am able to browse to the location to select the file, but when i click on 'Send', it doesn't save anywhere.
What changes do i need to save the file to a folder.
Please see the code below:
<html>
<body>
<form action="C:/savedfiles"
enctype="multipart/form-data" method="post">
<p>
VCF File:
<input type="file" name="datafile" size="40">
<br>
Read Quality:
<input type ="file" name ="datafile" size ="40">
<br>
Alignment Quality:
<input type ="file" name ="datafile" size ="40">
<br>
Sample Data:
<input type ="file" name ="datafile" size ="40"
</p>
<div>
<input type="submit" value="Send">
</div>
</form>
</body>
</form>