blueimp/jQuery-File-Upload — Issue #697: Adding files manually
Author: e-tip
Created: 2011-10-11 16:41:49+00:00
State: open

Hi there.
I'm developing a service to upload files for some of my customer and i'm using this jquery uploader.
i can see in the example that , in some way , adding files programmatically is supported.
by using this code...
// Load existing files:
$.getJSON($('#fileupload form').prop('action'), function (files) {
var fu = $('#fileupload').data('fileupload');
fu._adjustMaxNumberOfFiles(-files.length);
fu._renderDownload(files)
.appendTo($('#fileupload .files'))
.fadeIn(function () {
// Fix for IE7 and lower:
$(this).show();
});
});
I'm changing the page that returns the files list and i'd like to know what i have to output from my code to accomplish
Thanks