PC客户端:6.1.0
服务器:6.1.1
文件夹结构:
1/
└─ 1/
└─ 11.txt
└─ 12.txt
└─ 2/
└─ 21.txt
└─ 22.txt
通过PC客户端云端文件浏览器,上传文件夹,会导致子文件夹下面的文件都上传至当前文件夹,丢失目录结构:

通过查看github源码发现可能是:
https://github.com/haiwen/seafile-server/blob/e406d81efd40359a5214d2176d57338a060420db/server/upload-file.c#L504
服务器端api upload_api_cb 方法并没有处理过 relative_path 。
1 个赞
而 upload_ajax_cb 方法是有对relative_path 做过处理的: