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" }
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。