我正在尝试存储上传的文件,文件成功到达服务器,但不知道如何使用多方库存储它,即代码:
var multipart = require('connect-multiparty');
var multipartMiddleware = multipart();
app.post('/upload_audio', multipartMiddleware, function(req, resp) {
console.log(req.body, req.files);
if(req.files){
resp.status(200).send("Uploaded!!!");
}
});