sjqzhang / go-fastdfs

go-fastdfs 是一个简单的分布式文件系统(私有云存储),具有无中心、高性能,高可靠,免维护等优点,支持断点续传,分块上传,小文件合并,自动同步,自动修复。Go-fastdfs is a simple distributed file system (private cloud storage), with no center, high performance, high reliability, maintenance free and other advantages, support breakpoint continuation, block upload, small file merge, automatic synchronization, automatic repair.(similar fastdfs).
https://gitee.com/sjqzhang/go-fastdfs
The Unlicense
3.94k stars 747 forks source link

断点下载配置问题 #400

Closed swiftsnail001 closed 1 year ago

swiftsnail001 commented 1 year ago

目前服务器端HTTP下载 默认传输编码方式为chunked,通过测试无法断点下载。 请问下如何配置才能断点下载,多谢

sjqzhang commented 1 year ago

无需设置,参与linux wget -c 命令设置相应的http头就OK。

swiftsnail001 commented 1 year ago

你好,目前测试普通文件的上传和断点下载是可以的。 但是如果是大文件上传,走的是group1/big/upload这个路径,后面再下载的时候,HTTP的传输编码为chunked方式,此时好像不能断点下载了,麻烦帮解答下,谢谢!