Skip to content

how I can get currently uploading file name or size in multiple upload beforeSend #31

@aamirdx

Description

@aamirdx

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;

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions