First of all, excuse my poor english. I select some files, and among these, only three are uploaded.
In the PHP code I've tested and really just those three files are "sent". Can anyone help me? function selectFilesButton() { var desktop = google.gears.factory.create('beta.desktop'); desktop.openFiles( function(files) { for (var i = 0; i < files.length; i++) { makeUpload(files[i].blob, files[i].name); } }, { filter: ['.jpg', 'image/jpeg'] } ); } function makeUpload(file, name) { var request = google.gears.factory.create('beta.httprequest'); request.open('POST', 'http://localhost/Hoor/ajax/blob/file/' + name); request.onreadystatechange = function() { if (request.readyState == 4) { //alert("sent!"); } }; request.send(file); }