Open SamBlakeKing opened 7 years ago
this.name = file.name;
this.size = file.size;
this.type = file.type;
this.modified = file.lastMod;
this.deleteType = 'DELETE';
this.options = opts;
this.key = (file.path === undefined ? '' : getFileKey(file.path));
this.versions = {};
this.proccessed = false;
this.width = udf;
this.height = udf;
this.fields = fields;
if (opts.saveFile) {
this.safeName();
}
i had similar problem, and i have it fixed in my fork https://github.com/ldarren/blueimp-file-upload-expressjs
side note, in my fork the s3 upload is fully working with thumbnail
when I use it for big files upload, I meet a issue about the request of "/update". Fallow the tutorial, there is my code on server.
When I enter "http: localhost:XX/pointsupload/upload" on the browser, I get some errors as follow.
so I views the source of local.js and fileinfo.js. On 15:37 of local.js, It use FileInfo class which is defined on fileinfo.js, but it didn't define the "path" param.
but In the source of fileinfo.js, FileInfo class need file param has path property and getFileKey function use it.