在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → nodejs实现简单的上传下载功能

nodejs实现简单的上传下载功能

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:15.03M
  • 下载次数:3
  • 浏览次数:61
  • 发布时间:2021-11-01
  • 实例类别:一般编程问题
  • 发 布 人:js2021
  • 文件格式:.zip
  • 所需积分:2
 

实例介绍

【实例简介】
一个简单的nodejs服务器,可实现上传、下载文件、图片等,具体使用可查看README.md文件,下载文件的代码在routes/index.js文件中,上传文件的代码在routes/upload.js文件中,访问方式可查看文件顶部的注释
【实例截图】
【核心代码】
4744300845202028243.zip
└── downloadAnduploadServer
├── app.js
├── bin
│   ├── linux_node.sh
│   ├── win_node.exe
│   └── www
├── node_modules
│   ├── body-parser
│   │   ├── HISTORY.md
│   │   ├── index.js
│   │   ├── lib
│   │   │   ├── read.js
│   │   │   └── types
│   │   │   ├── json.js
│   │   │   ├── raw.js
│   │   │   ├── text.js
│   │   │   └── urlencoded.js
│   │   ├── LICENSE
│   │   ├── node_modules
│   │   │   ├── bytes
│   │   │   │   ├── History.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── Readme.md
│   │   │   ├── content-type
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── debug
│   │   │   │   ├── CHANGELOG.md
│   │   │   │   ├── component.json
│   │   │   │   ├── karma.conf.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── Makefile
│   │   │   │   ├── node.js
│   │   │   │   ├── node_modules
│   │   │   │   │   └── ms
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── license.md
│   │   │   │   │   ├── package.json
│   │   │   │   │   └── readme.md
│   │   │   │   ├── package.json
│   │   │   │   ├── README.md
│   │   │   │   └── src
│   │   │   │   ├── browser.js
│   │   │   │   ├── debug.js
│   │   │   │   ├── index.js
│   │   │   │   └── node.js
│   │   │   ├── depd
│   │   │   │   ├── History.md
│   │   │   │   ├── index.js
│   │   │   │   ├── lib
│   │   │   │   │   ├── browser
│   │   │   │   │   │   └── index.js
│   │   │   │   │   └── compat
│   │   │   │   │   ├── callsite-tostring.js
│   │   │   │   │   ├── event-listener-count.js
│   │   │   │   │   └── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── Readme.md
│   │   │   ├── http-errors
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   ├── inherits
│   │   │   │   │   │   ├── inherits_browser.js
│   │   │   │   │   │   ├── inherits.js
│   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   └── README.md
│   │   │   │   │   ├── setprototypeof
│   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   └── README.md
│   │   │   │   │   └── statuses
│   │   │   │   │   ├── codes.json
│   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── package.json
│   │   │   │   │   └── README.md
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── iconv-lite
│   │   │   │   ├── Changelog.md
│   │   │   │   ├── encodings
│   │   │   │   │   ├── dbcs-codec.js
│   │   │   │   │   ├── dbcs-data.js
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── internal.js
│   │   │   │   │   ├── sbcs-codec.js
│   │   │   │   │   ├── sbcs-data-generated.js
│   │   │   │   │   ├── sbcs-data.js
│   │   │   │   │   ├── tables
│   │   │   │   │   │   ├── big5-added.json
│   │   │   │   │   │   ├── cp936.json
│   │   │   │   │   │   ├── cp949.json
│   │   │   │   │   │   ├── cp950.json
│   │   │   │   │   │   ├── eucjp.json
│   │   │   │   │   │   ├── gb18030-ranges.json
│   │   │   │   │   │   ├── gbk-added.json
│   │   │   │   │   │   └── shiftjis.json
│   │   │   │   │   ├── utf16.js
│   │   │   │   │   └── utf7.js
│   │   │   │   ├── lib
│   │   │   │   │   ├── bom-handling.js
│   │   │   │   │   ├── extend-node.js
│   │   │   │   │   ├── index.d.ts
│   │   │   │   │   ├── index.js
│   │   │   │   │   └── streams.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── on-finished
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   └── ee-first
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── package.json
│   │   │   │   │   └── README.md
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── qs
│   │   │   │   ├── CHANGELOG.md
│   │   │   │   ├── dist
│   │   │   │   │   └── qs.js
│   │   │   │   ├── lib
│   │   │   │   │   ├── formats.js
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── parse.js
│   │   │   │   │   ├── stringify.js
│   │   │   │   │   └── utils.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   ├── README.md
│   │   │   │   └── test
│   │   │   │   ├── index.js
│   │   │   │   ├── parse.js
│   │   │   │   ├── stringify.js
│   │   │   │   └── utils.js
│   │   │   ├── raw-body
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   └── unpipe
│   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── package.json
│   │   │   │   │   └── README.md
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   └── type-is
│   │   │   ├── HISTORY.md
│   │   │   ├── index.js
│   │   │   ├── LICENSE
│   │   │   ├── node_modules
│   │   │   │   ├── media-typer
│   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── package.json
│   │   │   │   │   └── README.md
│   │   │   │   └── mime-types
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   └── mime-db
│   │   │   │   │   ├── db.json
│   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── package.json
│   │   │   │   │   └── README.md
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── package.json
│   │   │   └── README.md
│   │   ├── package.json
│   │   └── README.md
│   ├── cookie-parser
│   │   ├── HISTORY.md
│   │   ├── index.js
│   │   ├── LICENSE
│   │   ├── node_modules
│   │   │   ├── cookie
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   └── cookie-signature
│   │   │   ├── History.md
│   │   │   ├── index.js
│   │   │   ├── package.json
│   │   │   └── Readme.md
│   │   ├── package.json
│   │   └── README.md
│   ├── debug
│   │   ├── CHANGELOG.md
│   │   ├── component.json
│   │   ├── karma.conf.js
│   │   ├── LICENSE
│   │   ├── Makefile
│   │   ├── node.js
│   │   ├── node_modules
│   │   │   └── ms
│   │   │   ├── index.js
│   │   │   ├── license.md
│   │   │   ├── package.json
│   │   │   └── readme.md
│   │   ├── package.json
│   │   ├── README.md
│   │   └── src
│   │   ├── browser.js
│   │   ├── debug.js
│   │   ├── index.js
│   │   ├── inspector-log.js
│   │   └── node.js
│   ├── express
│   │   ├── History.md
│   │   ├── index.js
│   │   ├── lib
│   │   │   ├── application.js
│   │   │   ├── express.js
│   │   │   ├── middleware
│   │   │   │   ├── init.js
│   │   │   │   └── query.js
│   │   │   ├── request.js
│   │   │   ├── response.js
│   │   │   ├── router
│   │   │   │   ├── index.js
│   │   │   │   ├── layer.js
│   │   │   │   └── route.js
│   │   │   ├── utils.js
│   │   │   └── view.js
│   │   ├── LICENSE
│   │   ├── node_modules
│   │   │   ├── accepts
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   ├── mime-types
│   │   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   ├── node_modules
│   │   │   │   │   │   │   └── mime-db
│   │   │   │   │   │   │   ├── db.json
│   │   │   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   │   └── README.md
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   └── README.md
│   │   │   │   │   └── negotiator
│   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── lib
│   │   │   │   │   │   ├── charset.js
│   │   │   │   │   │   ├── encoding.js
│   │   │   │   │   │   ├── language.js
│   │   │   │   │   │   └── mediaType.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── package.json
│   │   │   │   │   └── README.md
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── array-flatten
│   │   │   │   ├── array-flatten.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── content-disposition
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── content-type
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── cookie
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── cookie-signature
│   │   │   │   ├── History.md
│   │   │   │   ├── index.js
│   │   │   │   ├── package.json
│   │   │   │   └── Readme.md
│   │   │   ├── depd
│   │   │   │   ├── History.md
│   │   │   │   ├── index.js
│   │   │   │   ├── lib
│   │   │   │   │   ├── browser
│   │   │   │   │   │   └── index.js
│   │   │   │   │   └── compat
│   │   │   │   │   ├── callsite-tostring.js
│   │   │   │   │   ├── event-listener-count.js
│   │   │   │   │   └── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── Readme.md
│   │   │   ├── encodeurl
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── escape-html
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── Readme.md
│   │   │   ├── etag
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── finalhandler
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   └── unpipe
│   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── package.json
│   │   │   │   │   └── README.md
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── fresh
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── merge-descriptors
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── methods
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── on-finished
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   └── ee-first
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── package.json
│   │   │   │   │   └── README.md
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── parseurl
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── path-to-regexp
│   │   │   │   ├── History.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── Readme.md
│   │   │   ├── proxy-addr
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   ├── forwarded
│   │   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   └── README.md
│   │   │   │   │   └── ipaddr.js
│   │   │   │   │   ├── bower.json
│   │   │   │   │   ├── Cakefile
│   │   │   │   │   ├── ipaddr.min.js
│   │   │   │   │   ├── lib
│   │   │   │   │   │   └── ipaddr.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── package.json
│   │   │   │   │   ├── README.md
│   │   │   │   │   ├── src
│   │   │   │   │   │   └── ipaddr.coffee
│   │   │   │   │   └── test
│   │   │   │   │   └── ipaddr.test.coffee
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── qs
│   │   │   │   ├── CHANGELOG.md
│   │   │   │   ├── dist
│   │   │   │   │   └── qs.js
│   │   │   │   ├── lib
│   │   │   │   │   ├── formats.js
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── parse.js
│   │   │   │   │   ├── stringify.js
│   │   │   │   │   └── utils.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   ├── README.md
│   │   │   │   └── test
│   │   │   │   ├── index.js
│   │   │   │   ├── parse.js
│   │   │   │   ├── stringify.js
│   │   │   │   └── utils.js
│   │   │   ├── range-parser
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── send
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   ├── destroy
│   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   └── README.md
│   │   │   │   │   ├── http-errors
│   │   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   ├── node_modules
│   │   │   │   │   │   │   └── inherits
│   │   │   │   │   │   │   ├── inherits_browser.js
│   │   │   │   │   │   │   ├── inherits.js
│   │   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   │   └── README.md
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   └── README.md
│   │   │   │   │   ├── mime
│   │   │   │   │   │   ├── build
│   │   │   │   │   │   │   ├── build.js
│   │   │   │   │   │   │   └── test.js
│   │   │   │   │   │   ├── cli.js
│   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   ├── mime.js
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   ├── README.md
│   │   │   │   │   │   └── types.json
│   │   │   │   │   └── ms
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── license.md
│   │   │   │   │   ├── package.json
│   │   │   │   │   └── readme.md
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── serve-static
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── setprototypeof
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── statuses
│   │   │   │   ├── codes.json
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── type-is
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   ├── media-typer
│   │   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   └── README.md
│   │   │   │   │   └── mime-types
│   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── node_modules
│   │   │   │   │   │   └── mime-db
│   │   │   │   │   │   ├── db.json
│   │   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   └── README.md
│   │   │   │   │   ├── package.json
│   │   │   │   │   └── README.md
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── utils-merge
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   └── vary
│   │   │   ├── HISTORY.md
│   │   │   ├── index.js
│   │   │   ├── LICENSE
│   │   │   ├── package.json
│   │   │   └── README.md
│   │   ├── package.json
│   │   └── Readme.md
│   ├── morgan
│   │   ├── HISTORY.md
│   │   ├── index.js
│   │   ├── LICENSE
│   │   ├── node_modules
│   │   │   ├── basic-auth
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── debug
│   │   │   │   ├── CHANGELOG.md
│   │   │   │   ├── component.json
│   │   │   │   ├── karma.conf.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── Makefile
│   │   │   │   ├── node.js
│   │   │   │   ├── node_modules
│   │   │   │   │   └── ms
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── license.md
│   │   │   │   │   ├── package.json
│   │   │   │   │   └── readme.md
│   │   │   │   ├── package.json
│   │   │   │   ├── README.md
│   │   │   │   └── src
│   │   │   │   ├── browser.js
│   │   │   │   ├── debug.js
│   │   │   │   ├── index.js
│   │   │   │   └── node.js
│   │   │   ├── depd
│   │   │   │   ├── History.md
│   │   │   │   ├── index.js
│   │   │   │   ├── lib
│   │   │   │   │   ├── browser
│   │   │   │   │   │   └── index.js
│   │   │   │   │   └── compat
│   │   │   │   │   ├── callsite-tostring.js
│   │   │   │   │   ├── event-listener-count.js
│   │   │   │   │   └── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   └── Readme.md
│   │   │   ├── on-finished
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   └── ee-first
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── package.json
│   │   │   │   │   └── README.md
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   └── on-headers
│   │   │   ├── HISTORY.md
│   │   │   ├── index.js
│   │   │   ├── LICENSE
│   │   │   ├── package.json
│   │   │   └── README.md
│   │   ├── package.json
│   │   └── README.md
│   ├── multer
│   │   ├── CHANGELOG.md
│   │   ├── index.js
│   │   ├── lib
│   │   │   ├── counter.js
│   │   │   ├── file-appender.js
│   │   │   ├── make-error.js
│   │   │   ├── make-middleware.js
│   │   │   └── remove-uploaded-files.js
│   │   ├── LICENSE
│   │   ├── node_modules
│   │   │   ├── append-field
│   │   │   │   ├── index.js
│   │   │   │   ├── lib
│   │   │   │   │   ├── parse-path.js
│   │   │   │   │   └── set-value.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   ├── README.md
│   │   │   │   └── test
│   │   │   │   └── forms.js
│   │   │   ├── busboy
│   │   │   │   ├── deps
│   │   │   │   │   └── encoding
│   │   │   │   │   ├── encoding-indexes.js
│   │   │   │   │   └── encoding.js
│   │   │   │   ├── lib
│   │   │   │   │   ├── main.js
│   │   │   │   │   ├── types
│   │   │   │   │   │   ├── multipart.js
│   │   │   │   │   │   └── urlencoded.js
│   │   │   │   │   └── utils.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   ├── dicer
│   │   │   │   │   │   ├── bench
│   │   │   │   │   │   │   ├── dicer-bench-multipart-parser.js
│   │   │   │   │   │   │   ├── formidable-bench-multipart-parser.js
│   │   │   │   │   │   │   ├── multipartser-bench-multipart-parser.js
│   │   │   │   │   │   │   ├── multiparty-bench-multipart-parser.js
│   │   │   │   │   │   │   ├── parted-bench-multipart-parser.js
│   │   │   │   │   │   │   └── parted-multipart.js
│   │   │   │   │   │   ├── lib
│   │   │   │   │   │   │   ├── Dicer.js
│   │   │   │   │   │   │   ├── HeaderParser.js
│   │   │   │   │   │   │   └── PartStream.js
│   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   ├── node_modules
│   │   │   │   │   │   │   └── streamsearch
│   │   │   │   │   │   │   ├── lib
│   │   │   │   │   │   │   │   └── sbmh.js
│   │   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   │   └── README.md
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   ├── README.md
│   │   │   │   │   │   └── test
│   │   │   │   │   │   ├── fixtures
│   │   │   │   │   │   │   ├── many
│   │   │   │   │   │   │   │   ├── original
│   │   │   │   │   │   │   │   ├── part1
│   │   │   │   │   │   │   │   ├── part1.header
│   │   │   │   │   │   │   │   ├── part2
│   │   │   │   │   │   │   │   ├── part2.header
│   │   │   │   │   │   │   │   ├── part3
│   │   │   │   │   │   │   │   ├── part3.header
│   │   │   │   │   │   │   │   ├── part4
│   │   │   │   │   │   │   │   ├── part4.header
│   │   │   │   │   │   │   │   ├── part5
│   │   │   │   │   │   │   │   ├── part5.header
│   │   │   │   │   │   │   │   ├── part6
│   │   │   │   │   │   │   │   ├── part6.header
│   │   │   │   │   │   │   │   ├── part7
│   │   │   │   │   │   │   │   └── part7.header
│   │   │   │   │   │   │   ├── many-noend
│   │   │   │   │   │   │   │   ├── original
│   │   │   │   │   │   │   │   ├── part1
│   │   │   │   │   │   │   │   ├── part1.header
│   │   │   │   │   │   │   │   ├── part2
│   │   │   │   │   │   │   │   ├── part2.header
│   │   │   │   │   │   │   │   ├── part3
│   │   │   │   │   │   │   │   ├── part3.header
│   │   │   │   │   │   │   │   ├── part4
│   │   │   │   │   │   │   │   ├── part4.header
│   │   │   │   │   │   │   │   ├── part5
│   │   │   │   │   │   │   │   ├── part5.header
│   │   │   │   │   │   │   │   ├── part6
│   │   │   │   │   │   │   │   ├── part6.header
│   │   │   │   │   │   │   │   └── part7.header
│   │   │   │   │   │   │   ├── many-wrongboundary
│   │   │   │   │   │   │   │   ├── original
│   │   │   │   │   │   │   │   ├── preamble
│   │   │   │   │   │   │   │   └── preamble.error
│   │   │   │   │   │   │   ├── nested
│   │   │   │   │   │   │   │   ├── original
│   │   │   │   │   │   │   │   ├── part1
│   │   │   │   │   │   │   │   ├── part1.header
│   │   │   │   │   │   │   │   ├── part2
│   │   │   │   │   │   │   │   └── part2.header
│   │   │   │   │   │   │   └── nested-full
│   │   │   │   │   │   │   ├── original
│   │   │   │   │   │   │   ├── part1
│   │   │   │   │   │   │   ├── part1.header
│   │   │   │   │   │   │   ├── part2
│   │   │   │   │   │   │   ├── part2.header
│   │   │   │   │   │   │   └── preamble.header
│   │   │   │   │   │   ├── test-endfinish.js
│   │   │   │   │   │   ├── test-headerparser.js
│   │   │   │   │   │   ├── test.js
│   │   │   │   │   │   ├── test-multipart-extra-trailer.js
│   │   │   │   │   │   ├── test-multipart.js
│   │   │   │   │   │   └── test-multipart-nolisteners.js
│   │   │   │   │   └── readable-stream
│   │   │   │   │   ├── duplex.js
│   │   │   │   │   ├── float.patch
│   │   │   │   │   ├── lib
│   │   │   │   │   │   ├── _stream_duplex.js
│   │   │   │   │   │   ├── _stream_passthrough.js
│   │   │   │   │   │   ├── _stream_readable.js
│   │   │   │   │   │   ├── _stream_transform.js
│   │   │   │   │   │   └── _stream_writable.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── node_modules
│   │   │   │   │   │   ├── core-util-is
│   │   │   │   │   │   │   ├── float.patch
│   │   │   │   │   │   │   ├── lib
│   │   │   │   │   │   │   │   └── util.js
│   │   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   │   ├── README.md
│   │   │   │   │   │   │   └── test.js
│   │   │   │   │   │   ├── inherits
│   │   │   │   │   │   │   ├── inherits_browser.js
│   │   │   │   │   │   │   ├── inherits.js
│   │   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   │   └── README.md
│   │   │   │   │   │   ├── isarray
│   │   │   │   │   │   │   ├── component.json
│   │   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   │   └── README.md
│   │   │   │   │   │   └── string_decoder
│   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   └── README.md
│   │   │   │   │   ├── package.json
│   │   │   │   │   ├── passthrough.js
│   │   │   │   │   ├── readable.js
│   │   │   │   │   ├── README.md
│   │   │   │   │   ├── transform.js
│   │   │   │   │   └── writable.js
│   │   │   │   ├── package.json
│   │   │   │   ├── README.md
│   │   │   │   └── test
│   │   │   │   ├── test.js
│   │   │   │   ├── test-types-multipart.js
│   │   │   │   ├── test-types-urlencoded.js
│   │   │   │   ├── test-utils-decoder.js
│   │   │   │   └── test-utils-parse-params.js
│   │   │   ├── concat-stream
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   ├── buffer-from
│   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   ├── readme.md
│   │   │   │   │   │   └── test.js
│   │   │   │   │   ├── inherits
│   │   │   │   │   │   ├── inherits_browser.js
│   │   │   │   │   │   ├── inherits.js
│   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   └── README.md
│   │   │   │   │   ├── readable-stream
│   │   │   │   │   │   ├── CONTRIBUTING.md
│   │   │   │   │   │   ├── doc
│   │   │   │   │   │   │   └── wg-meetings
│   │   │   │   │   │   │   └── 2015-01-30.md
│   │   │   │   │   │   ├── duplex-browser.js
│   │   │   │   │   │   ├── duplex.js
│   │   │   │   │   │   ├── GOVERNANCE.md
│   │   │   │   │   │   ├── lib
│   │   │   │   │   │   │   ├── internal
│   │   │   │   │   │   │   │   └── streams
│   │   │   │   │   │   │   │   ├── BufferList.js
│   │   │   │   │   │   │   │   ├── destroy.js
│   │   │   │   │   │   │   │   ├── stream-browser.js
│   │   │   │   │   │   │   │   └── stream.js
│   │   │   │   │   │   │   ├── _stream_duplex.js
│   │   │   │   │   │   │   ├── _stream_passthrough.js
│   │   │   │   │   │   │   ├── _stream_readable.js
│   │   │   │   │   │   │   ├── _stream_transform.js
│   │   │   │   │   │   │   └── _stream_writable.js
│   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   ├── node_modules
│   │   │   │   │   │   │   ├── core-util-is
│   │   │   │   │   │   │   │   ├── float.patch
│   │   │   │   │   │   │   │   ├── lib
│   │   │   │   │   │   │   │   │   └── util.js
│   │   │   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   │   │   ├── README.md
│   │   │   │   │   │   │   │   └── test.js
│   │   │   │   │   │   │   ├── isarray
│   │   │   │   │   │   │   │   ├── component.json
│   │   │   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   │   │   ├── Makefile
│   │   │   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   │   │   ├── README.md
│   │   │   │   │   │   │   │   └── test.js
│   │   │   │   │   │   │   ├── process-nextick-args
│   │   │   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   │   │   ├── license.md
│   │   │   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   │   │   └── readme.md
│   │   │   │   │   │   │   ├── safe-buffer
│   │   │   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   │   │   ├── README.md
│   │   │   │   │   │   │   │   └── test.js
│   │   │   │   │   │   │   ├── string_decoder
│   │   │   │   │   │   │   │   ├── lib
│   │   │   │   │   │   │   │   │   └── string_decoder.js
│   │   │   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   │   │   └── README.md
│   │   │   │   │   │   │   └── util-deprecate
│   │   │   │   │   │   │   ├── browser.js
│   │   │   │   │   │   │   ├── History.md
│   │   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   │   ├── node.js
│   │   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   │   └── README.md
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   ├── passthrough.js
│   │   │   │   │   │   ├── readable-browser.js
│   │   │   │   │   │   ├── readable.js
│   │   │   │   │   │   ├── README.md
│   │   │   │   │   │   ├── transform.js
│   │   │   │   │   │   ├── writable-browser.js
│   │   │   │   │   │   └── writable.js
│   │   │   │   │   └── typedarray
│   │   │   │   │   ├── example
│   │   │   │   │   │   └── tarray.js
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── package.json
│   │   │   │   │   ├── readme.markdown
│   │   │   │   │   └── test
│   │   │   │   │   ├── server
│   │   │   │   │   │   └── undef_globals.js
│   │   │   │   │   └── tarray.js
│   │   │   │   ├── package.json
│   │   │   │   └── readme.md
│   │   │   ├── mkdirp
│   │   │   │   ├── bin
│   │   │   │   │   ├── cmd.js
│   │   │   │   │   └── usage.txt
│   │   │   │   ├── examples
│   │   │   │   │   └── pow.js
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   └── minimist
│   │   │   │   │   ├── example
│   │   │   │   │   │   └── parse.js
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── package.json
│   │   │   │   │   ├── readme.markdown
│   │   │   │   │   └── test
│   │   │   │   │   ├── dash.js
│   │   │   │   │   ├── default_bool.js
│   │   │   │   │   ├── dotted.js
│   │   │   │   │   ├── long.js
│   │   │   │   │   ├── parse.js
│   │   │   │   │   ├── parse_modified.js
│   │   │   │   │   ├── short.js
│   │   │   │   │   └── whitespace.js
│   │   │   │   ├── package.json
│   │   │   │   ├── readme.markdown
│   │   │   │   └── test
│   │   │   │   ├── chmod.js
│   │   │   │   ├── clobber.js
│   │   │   │   ├── mkdirp.js
│   │   │   │   ├── opts_fs.js
│   │   │   │   ├── opts_fs_sync.js
│   │   │   │   ├── perm.js
│   │   │   │   ├── perm_sync.js
│   │   │   │   ├── race.js
│   │   │   │   ├── rel.js
│   │   │   │   ├── return.js
│   │   │   │   ├── return_sync.js
│   │   │   │   ├── root.js
│   │   │   │   ├── sync.js
│   │   │   │   ├── umask.js
│   │   │   │   └── umask_sync.js
│   │   │   ├── object-assign
│   │   │   │   ├── index.js
│   │   │   │   ├── license
│   │   │   │   ├── package.json
│   │   │   │   └── readme.md
│   │   │   ├── on-finished
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   └── ee-first
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── package.json
│   │   │   │   │   └── README.md
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   ├── type-is
│   │   │   │   ├── HISTORY.md
│   │   │   │   ├── index.js
│   │   │   │   ├── LICENSE
│   │   │   │   ├── node_modules
│   │   │   │   │   ├── media-typer
│   │   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   └── README.md
│   │   │   │   │   └── mime-types
│   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   ├── index.js
│   │   │   │   │   ├── LICENSE
│   │   │   │   │   ├── node_modules
│   │   │   │   │   │   └── mime-db
│   │   │   │   │   │   ├── db.json
│   │   │   │   │   │   ├── HISTORY.md
│   │   │   │   │   │   ├── index.js
│   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   └── README.md
│   │   │   │   │   ├── package.json
│   │   │   │   │   └── README.md
│   │   │   │   ├── package.json
│   │   │   │   └── README.md
│   │   │   └── xtend
│   │   │   ├── immutable.js
│   │   │   ├── LICENCE
│   │   │   ├── Makefile
│   │   │   ├── mutable.js
│   │   │   ├── package.json
│   │   │   ├── README.md
│   │   │   └── test.js
│   │   ├── package.json
│   │   ├── README.md
│   │   └── storage
│   │   ├── disk.js
│   │   └── memory.js
│   └── serve-favicon
│   ├── HISTORY.md
│   ├── index.js
│   ├── LICENSE
│   ├── node_modules
│   │   ├── etag
│   │   │   ├── HISTORY.md
│   │   │   ├── index.js
│   │   │   ├── LICENSE
│   │   │   ├── package.json
│   │   │   └── README.md
│   │   ├── fresh
│   │   │   ├── HISTORY.md
│   │   │   ├── index.js
│   │   │   ├── LICENSE
│   │   │   ├── package.json
│   │   │   └── README.md
│   │   ├── ms
│   │   │   ├── index.js
│   │   │   ├── license.md
│   │   │   ├── package.json
│   │   │   └── readme.md
│   │   ├── parseurl
│   │   │   ├── HISTORY.md
│   │   │   ├── index.js
│   │   │   ├── LICENSE
│   │   │   ├── package.json
│   │   │   └── README.md
│   │   └── safe-buffer
│   │   ├── index.js
│   │   ├── LICENSE
│   │   ├── package.json
│   │   ├── README.md
│   │   └── test.js
│   ├── package.json
│   └── README.md
├── package.json
├── public
│   └── README
├── README.md
└── routes
├── index.js
├── upload.js
└── users.js

218 directories, 790 files

标签:

实例下载地址

nodejs实现简单的上传下载功能

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警