Coder Social home page Coder Social logo

damonforever / file-upload-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shenmaxg/file-upload-server

0.0 0.0 0.0 35 KB

【服务端】大文件上传解决方案,切片,断点续传,秒传,失败自动重传

License: MIT License

Java 100.00%

file-upload-server's Introduction

file-upload-server

【服务端】大文件上传解决方案,切片,断点续传,秒传。

介绍

使用 SpringBoot 搭建的文件上传服务端。负责切片文件的接收,文件 Hash 值记录。

配合项目 file-upload-react 使用,项目的完整预览效果如下:

preview

启动

运行 FileUploadServerApplication 中的 main 方法。服务会启动在 8080 端口。

注意事项

  1. application.properties 中配置了文件上传的路径,目前的路径是 /Users/songmengxiang/workspace/temp/,请大家在启动服务之前修改为本机地址。
  2. 目前项目没有链接数据库,文件的数据存储在内存中,重启项目后会丢失数据。可以根据需求增加一个 dao 层。

相关阅读

如何做大文件上传

file-upload-server's People

Contributors

shenmaxg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.