Closed
Description
Please make sure of the following things
I have read the documentation.
我已经阅读了文档。I'm sure there are no duplicate issues or discussions.
我确定没有重复的issue或讨论。I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。
AList Version / AList 版本
v3.33.0
Driver used / 使用的存储驱动
本机存储 转 S3 对象存储
Describe the bug / 问题描述
添加存储时使用本机存储挂载了一个本地的目录,之后启用对象存储,将本地的这个目录转为S3对象存储,在Windows下使用S3 browser 进行上传文件夹,上传的文件夹会变成文件,导致该文件夹里面的文件均无法上传,但是单独上传文件则是可以的。同时在S3 browser中New Folder 也会变成file,这个应该是bug吧,因为我切换到minio创建的存储桶,则不存在该问题。
Reproduction / 复现链接
无
Config / 配置
无
Logs / 日志
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
welcome commentedon Apr 30, 2024
Thanks for opening your first issue here! Be sure to follow the issue template!
miyunwangluo commentedon May 4, 2024
我采用minio-go测试了下 上传文件 比如1.png没问题 可以正常上传 但带路径比如uploads/1.png就不行了 提示Failed to upload file: The specified key does not exist. 应该是alist的对象存储还没实现对路径的支持吧
beijifengren commentedon May 4, 2024
这时候你去看存储桶中的数据,应该会发现出现了一个uploads的文件本来应该是uploads的文件夹,他把创建文件夹的操作和创建文件的操作混淆了吧
itsHenry35 commentedon May 7, 2024
我也发现这个问题了,回头修
gowy222 commentedon May 11, 2024
S3接口将来会产生bug
S3 是一个对象存储服务,它使用键值对的方式存储对象(文件)
在 S3 中,文件夹实际上是一个命名空间的概念,用于组织和管理对象
S3这块,建议重新评估,要不要直接砍掉..
itsHenry35 commentedon May 11, 2024
回答:#6401 (comment)
itsHenry35 commentedon Jul 17, 2024
Fixed in 2b74999