onAllComplete te devuelve un objeto data que contiene algunos datos de la transacción:
Código HTML:
'onAllComplete': function(event, data) {
alert("files Uploaded: "+data.filesUploaded+" errors: "+data.errors+" Bytes Loaded: "+data.allBytesLoaded +" speed: "+data.speed);
}
en la doc esta:
Cita: onAllComplete
A function that triggers when all file uploads have completed. There is no default event handler.
Two arguments are sent to the function:
event: The event object.
data: An object containing details about the upload process.
* filesUploaded – The total number of files uploaded
* errors – The total number of errors while uploading
* allBytesLoaded – The total number of bytes uploaded
* speed – The average speed of all uploaded files
fijate que onComplete tiene un objeto que te devuelve info sobre el archivo subido, como el nombre, tamaño, etc