alert( ‘id: ‘ + file.id
+ ‘ – 索引: ‘ + file.index
+ ‘ – 文件名: ‘ + file.name
+ ‘ – 文件大小: ‘ + file.size
+ ‘ – 类型: ‘ + file.type
+ ‘ – 创建日期: ‘ + file.creationdate
+ ‘ – 修改日期: ‘ + file.modificationdate
+ ‘ – 文件状态: ‘ + file.filestatus
+ ‘ – 错误代码: ‘ + errorCode
+ ‘ – 错误描述: ‘ + errorMsg
+ ‘ – 简要错误描述: ‘ + errorString
+ ‘ – 出错的文件数: ‘ + swfuploadifyQueue.filesErrored
+ ‘ – 错误信息: ‘ + swfuploadifyQueue.errorMsg
+ ‘ – 要添加至队列的数量: ‘ + swfuploadifyQueue.filesSelected
+ ‘ – 添加至对立的数量: ‘ + swfuploadifyQueue.filesQueued
+ ‘ – 队列长度: ‘ + swfuploadifyQueue.queueLength);
}
onUploadProgress : function(file,fileBytesLoaded,fileTotalBytes,
queueBytesLoaded,swfuploadifyQueueUploadSize) {//上传进度发生变更时触发
alert( ‘id: ‘ + file.id
+ ‘ – 索引: ‘ + file.index
+ ‘ – 文件名: ‘ + file.name
+ ‘ – 文件大小: ‘ + file.size
+ ‘ – 类型: ‘ + file.type
+ ‘ – 创建日期: ‘ + file.creationdate
+ ‘ – 修改日期: ‘ + file.modificationdate
+ ‘ – 文件状态: ‘ + file.filestatus
+ ‘ – 当前文件已上传: ‘ + fileBytesLoaded
+ ‘ – 当前文件大小: ‘ + fileTotalBytes
+ ‘ – 队列已上传: ‘ + queueBytesLoaded
+ ‘ – 队列大小: ‘ + swfuploadifyQueueUploadSize);
}
onUploadStart: function(file) {//上传开始时触发(每个文件触发一次)
alert( ‘id: ‘ + file.id
+ ‘ – 索引: ‘ + file.index
+ ‘ – 文件名: ‘ + file.name
+ ‘ – 文件大小: ‘ + file.size
+ ‘ – 类型: ‘ + file.type
+ ‘ – 创建日期: ‘ + file.creationdate
+ ‘ – 修改日期: ‘ + file.modificationdate
+ ‘ – 文件状态: ‘ + file.filestatus );
}
onUploadSuccess : function(file,data,response) {//上传完成时触发(每个文件触发一次)
alert( ‘id: ‘ + file.id
+ ‘ – 索引: ‘ + file.index
+ ‘ – 文件名: ‘ + file.name
+ ‘ – 文件大小: ‘ + file.size
+ ‘ – 类型: ‘ + file.type
+ ‘ – 创建日期: ‘ + file.creationdate










