alist icon indicating copy to clipboard operation
alist copied to clipboard

阿里云盘OPEN覆盖上传文件后网盘存在两个或多个同名文件

Open su7th opened this issue 2 years ago • 4 comments

Please make sure of the following things

  • [ ] I have read the documentation.
  • [ ] I'm sure there are no duplicate issues or discussions.
  • [ ] I'm sure it's due to alist and not something else(such as Dependencies or Operational).
  • [X] I'm sure I'm using the latest version

Alist Version / Alist 版本

v3.12.2

Driver used / 使用的存储驱动

阿里云盘OPEN

Describe the bug / 问题描述

使用Webdav或Alist网页版覆盖上传文件后,以及直接在线编辑文档保存后,阿里云盘客户端会同时存在两个或多个同名的文件。

Reproduction / 复现链接

image image

Logs / 日志

No response

su7th avatar Feb 27 '23 09:02 su7th

Thanks for opening your first issue here! Be sure to follow the issue template!

welcome[bot] avatar Feb 27 '23 09:02 welcome[bot]

AliyundriveOpen doesn't support overwrite upload currently according to api docs, I will try overwrite later

xhofe avatar Feb 27 '23 09:02 xhofe

确实会有这个问题,但是在 Alist 通过 AliyundriveOpen 接口获取的列表没有重复的文件

LisonFan avatar Feb 27 '23 12:02 LisonFan

same problem

PterX avatar Mar 01 '23 05:03 PterX

AliyundriveOpen doesn't support overwrite upload currently according to api docs, I will try overwrite later

can we delete the old file if it exist and upload the new file?

aperson2013 avatar Mar 04 '23 08:03 aperson2013

If delete the old file before the upload is successful, in case of upload failure, the original file may not be retrieved. I think it can try to rename the cloud disk file before uploading, Then upload, if successful, delete the original file of cloud disk.

su7th avatar Mar 04 '23 09:03 su7th

If delete the old file before the upload is successful, in case of upload failure, the original file may not be retrieved. I think it can try to rename the cloud disk file before uploading, Then upload, if successful, delete the original file of cloud disk.

Looks good, would do this later

xhofe avatar Mar 04 '23 09:03 xhofe