Я использую этот код для загрузки файлов на сервер (в html):
<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1">
<label>upload file<input type="file" name="file" id="file" /></label>
<label><input type="submit" name="button" id="button" value="Submit" /></label></form>
Он открывает браузер файлов и позволяет мне выбрать файл, а когда я нажимаю "Отправить", файл отправляется на мой сервер.
Интересно, есть ли способ сделать выбор нескольких файлов.