how I can get currently uploading file name or size in multiple upload beforeSend
aamirdx opened this issue · comments
I am upload 2 files fileA.jpg and fileB.jpg in before send I am call a function to check file name already exist in database or not. This is working fine for single file but not working on multiple file upload can any body tell me please how I can get current uploading file name in before send
'beforeSend' => 'js:function(event, files, index, xhr, handler, callBack) {
file_name = files[index].name;
}