node.js express fs 获取已上传文件数据格式
{ "fieldName": "photo", "originalFilename": "1395130808991.jpg", "path": "tmpupload/25546-z8u01y.jpg", "headers": { "content-disposition": "form-data; name=\"photo\"; filename=\"1395130808991.jpg\"", "content-type": "image/jpeg" }, "ws": { "_writableState": { "highWaterMark": 16384, "objectMode": false, "needDrain": true, "ending": true, "ended": true, "finished": true, "decodeStrings": true, "defaultEncoding": "utf8", "length": 0, "writing": false, "sync": false, "bufferProcessing": false, "writecb": null, "writelen": 0, "buffer": [], "errorEmitted": false }, "writable": true, "domain": null, "_events": { "error": [ null ], "close": [ null ] }, "_maxListeners": 10, "path": "tmpupload/25546-z8u01y.jpg", "fd": null, "flags": "w", "mode": 438, "bytesWritten": 1944795, "closed": true }, "size": 1944795, "name": "1395130808991.jpg", "type": "image/jpeg" }