# node.js 文件上传 **Repository Path**: fu_960301328/nodejs---file-upload ## Basic Information - **Project Name**: node.js 文件上传 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-06-23 - **Last Updated**: 2022-12-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # node-start-upload #### 介绍 {**以下是 Gitee 平台说明,您可以替换此简介** Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台 无论是个人、团队、或是企业,都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)} #### 软件架构 软件架构说明 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) https://blog.csdn.net/a347867019/article/details/115256907 https://portal.qiniu.com/kodo/bucket/resource?bucketName=xiaokaixuan https://blog.csdn.net/qq_31254489/article/details/109704971 跨域 https://blog.csdn.net/qq_37540004/article/details/60963039 uuid npm install uuid --save https://www.jianshu.com/p/1fb4be4f9d5d 2. https://blog.csdn.net/qq_15980721/article/details/102490019 cnpm install --save multer-aliyun-oss const MAO = require('multer-aliyun-oss'); ? region https://help.aliyun.com/document_detail/31837.html?spm=5176.doc31827.2.4.LSbk6U npm install formidable --save https://blog.csdn.net/sinat_36422236/article/details/85123301 cnpm install multiparty --save https://www.cnblogs.com/leijee/p/7457802.html 返回 { fieldname: 'file', originalname: 'test_name.fbx', encoding: '7bit', mimetype: 'application/octet-stream' } file in fileFleter [Object: null prototype] { name: 'dfsdf' } req.body { fieldname: 'file', originalname: 'test_name.fbx', encoding: '7bit', mimetype: 'application/octet-stream', destination: './static_temp', filename: '1625033017379-test_name.fbx', path: 'static_temp\\1625033017379-test_name.fbx', size: 18955 } req.file multer https://www.npmjs.com/package/multer formidable multiparty node.js 文件重命名 https://www.cnblogs.com/Alan2016/p/14329176.html