<HTML>
<HEAD>
<title>Simple example of file upload</title>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<link rel="stylesheet" href="ExamplesStyle.css">
</HEAD>
<body>
This example demonstrates how to upload files to a web server and display an
information about them.
<br/>
<br/>
All uploaded files will be stored to the "UploadedFiles" folder that is located
in the root directory of an examples.<br/>
You should grant write access to "UploadedFiles" folder to the ASP.NET process identity(typically {MACHINE}\ASPNET on IIS 5<BR>
or Network Service on IIS 6).
<br/>
<br/>
<form name="myform" method="post" action="SimpleFileUpload.aspx" encType="multipart/form-data">
<table>
<tr>
<td>Select file 1:</td>
<td><input type="file" name="file1" size="40" id="file1"></td>
</tr>
<tr>
<td>Select file 2:</td>
<td><input type="file" name="file2" size="40" id="file2"></td>
</tr>
<tr>
<td>Comment:</td>
<td><input type="text" name="comment"></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="SubmitButton" value="Upload"></td>
</tr>
</table>
</form>
<hr>
<a href="default.aspx" title="ASP.NET File upload component">Other examples</a>
<a target="_blank" href="http://www.easyalgo.com/quickstart/util/srcview.aspx?path=/Examples/EAUpload/SimpleFileUpload.src">View C Sharp source code</a>
<a target="_blank" href="http://www.easyalgo.com/quickstart/util/srcview.aspx?path=/Examples/EAUpload/VBNET/SimpleFileUpload.src">View VB NET source code</a>
<p>
Used files: Bin\EasyAlgo.EAUpload.dll, web.config,
SimpleFileUpload.htm, SimpleFileUpload.aspx, SimpleFileUpload.aspx.cs, ExamplesStyle.css [Optional]
</p>
</body>
</HTML>