Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 of 4 tasks
su7th opened this issue Feb 27, 2023 · 7 comments
Closed
1 of 4 tasks
Labels
bug Something isn't working

Comments

@su7th
Copy link

su7th commented Feb 27, 2023

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).
  • 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 su7th added the bug Something isn't working label Feb 27, 2023
@welcome
Copy link

welcome bot commented Feb 27, 2023

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

@xhofe
Copy link
Collaborator

xhofe commented Feb 27, 2023

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

@LisonFan
Copy link
Contributor

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

@PterX
Copy link

PterX commented Mar 1, 2023

same problem

@aperson2013
Copy link

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?

@su7th
Copy link
Author

su7th commented Mar 4, 2023

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 su7th closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2023
@su7th su7th reopened this Mar 4, 2023
@xhofe
Copy link
Collaborator

xhofe commented Mar 4, 2023

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 xhofe closed this as completed in c915313 Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants