Asgaroth / xupload

XUpload extension for Yii Framework

Home Page:http://www.yiiframework.com/extension/xupload/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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;

}