$.ajax({            
type : 'POST',
url : 'post.php',
data : new FormData($('form.formclassim')[0]),
cache: false,
contentType: false,
processData: false,
success : function(response){
             alert(response);
}
});
Yukarıdaki kodlar ile ajax ile dosya upload edebiliyorum. post.php de file inputu karşılamalısınız.