$("input:file").change(function(objEvent) { var objFormData = new FormData(); // GET FILE OBJECT var objFile = $(this)[0].files[0]; // APPEND FILE TO POST DATA objFormData.append('userfile', objFile); $.ajax({ url: 'Here Your Server-Url' type: 'POST', contentType: false, data: objFormData, //JQUERY CONVERT THE FILES ARRAYS INTO STRINGS.SO processData:false processData: false, success: function(data) {} }); });