jQuery-File-Upload
jQuery-File-Upload copied to clipboard
add opportunity to change names of loaded files
request: add opportunity to change names of files before loading (inline edit, etc)
It's now possible to set an alternative name used for each file to be uploaded:
$('"#fileupload').on('fileuploadsubmit', function (e, data) {
data.files[0].uploadName = 'Alternative-Name.jpg";
});
However, since this requires support for the third FormData.append() parameter and is not supported cross-browser I won't implement the UI for it. For cross-browser support you could send along standard form data and adjust the name on server-side.