title: jQuery fileupload - get list of uploaded files
body: <p>I'm using the very good jquery plugin <a href="https://github.com/blueimp/jQuery-File-Upload" rel="noreferrer">blueimp / jQuery-File-Upload</a></p>
  
  <pre><code>$('#fileupload').fileupload({
    autoUpload: true
  , filesContainer: '#attachments_presentation tbody'
  , stop: function (e) {
      console.log(data);
    }
  });
  </code></pre>
  
  <p>And I'm not able to do something very simple: get the list of uploaded files<br>
  (with their name on the server)</p>
  
  <p>Firstly I naively though it would be stored on the file input so I could get the list with</p>
  
  <pre><code>$('#fileupload').val();
  </code></pre>
  
  <p>But it's not, so I though about something like</p>
  
  <pre><code>$('#fileupload').fileupload('getfiles');
  </code></pre>
  
  <p>I can't find the way from the docs</p>
  
  <p>Can somebody tell me how I can get the list of uploaded file names in the server ?</p>
  
  <hr>
  
  <p><strong>Update</strong></p>
  
  <p>I'd like to get the uploaded files name on the <strong>server</strong> in order to be able to manage them afterwards.</p>
  
  <p>For example:</p>
  
  <ul>
  <li>I upload a file named <code>trutruc.pdf</code></li>
  <li>I upload <code>test.png</code></li>
  <li>I re-upload a file named <code>trutruc.pdf</code></li>
  <li>I delete the first file</li>
  </ul>
  
  <p>The current list of files in the server should then be <code>test.png</code>, <code>trutruc (2).pdf</code></p>
  
  <hr>
  
  <p><strong>Update 2</strong></p>
  
  <p>I'm using the <a href="https://github.com/blueimp/jQuery-File-Upload/blob/master/server/php/UploadHandler.php" rel="noreferrer">default php script shipped</a> with fileUpload</p>