if you want to see how a server receives files, copy this html and have your own server side script for "the form action."

Sorry, I don't have a server that runs one.

<form action="YOUR_SERVER_SIDE_SCRIPT_PATH" enctype="multipart/form-data" method="post">

CHANGE THE ACTION PATH TO YOUR SERVER SIDE SCRIPT PATH TO SEE THE PARAMETERS SENT.

i.e. PHP
<pre>
<?php
print_r($_FILES);
?>
</pre>

Multi-file-uploader (view source for more explanation)

usually, when several files need to be uploaded, you have to do one of the followings.

  1. let them upload one by one
  2. have a page with several input-file elements

1. is just painful. 2. is okay but the number of the file elements is fixed, and so it still has a problem with many files to upload.

So here's my multi-file-uploader. It can hold as many files as you wish and can upload them all at a time.
The trick is hiding the file input element in a list and naming the element when attaching. The hidden file element will have a label with its file path to notify the addition and to be removed when decided not to send.

requirements:
Multi File Uploader

drop any added files to delete