Programmatically uploading a file
<p>I'm using the jQuery file upload plugin which has an <a href="https://github.com/blueimp/jQuery-File-Upload/wiki/API" rel="nofollow">API</a> to programmatically upload files. The documentation writes:</p>

<pre><code>$('#fileupload').fileupload('add', {files: filesList});
</code></pre>

<p>The problem is that I don't know what <code>filesList</code> should be. I have tried the following unsuccessfully:</p>

<pre><code>$('#fileuplaud').fileupload('add', {files: ['/Users/bob/Desktop/test.png']});
</code></pre>

<p>What should <code>filesList</code> be exactly?</p>
