https://github.com/andycall/file-upload-example-server
使用Node.js实现文件流转存服务 测试的后端server
https://github.com/andycall/file-upload-example-server
Last synced: 8 months ago
JSON representation
使用Node.js实现文件流转存服务 测试的后端server
- Host: GitHub
- URL: https://github.com/andycall/file-upload-example-server
- Owner: andycall
- Created: 2017-02-19T14:52:46.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-20T13:22:51.000Z (almost 9 years ago)
- Last Synced: 2024-10-19T04:30:56.809Z (about 1 year ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 14
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# file upload example server
使用Node.js实现文件流转存服务 测试的后端server
## Installation
```
npm install
npm start
```
## How to Use
npm start 启动之后, 默认监听本地3000端口。
接收到的文件会保存在receive文件夹下面。
## 代码解释
发送端会在filename内部使用特殊的字符串:`_IDSPLIT_` 来分割分片的index和文件名。
来保证服务端在连续收到来自多个文件的不同分片的时候,也能够进行区分。