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

文件下载输出命可以定义为原始名称吗 #373

Closed qinxh closed 1 year ago

qinxh commented 1 year ago

通过get_file_info可以查看到上传的文件原始名称,那在使用download=1下载文件时,能否使输出的文件名为上传时的原始名称?

sjqzhang commented 1 year ago

可以在url中加入?name=filename