首页 > 代码库 > node.js express fs 获取已上传文件数据格式
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"}
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。