We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have read the documentation. 我已经阅读了文档。
I'm sure there are no duplicate issues or discussions. 我确定没有重复的issue或讨论。
I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational). 我确定是AList的问题,而不是其他原因(例如网络,依赖或操作)。
AList
Dependencies
Operational
依赖
操作
I'm sure this issue is not fixed in the latest version. 我确定这个问题在最新版本中没有被修复。
v3.27.0
onedriveAPP
当用户尝试在 OneDrive 上分段上传一个已经存在的文件时,上传成功的响应状态码为 200 OK 而非 201 Created(参见官方文档)。
200 OK
201 Created
然而,在 AList 的 OneDrive 驱动中(以 onedriveApp)为例,将 201 Created 和 202 Accepted 之外的状态码均认为是失败的结果。我认为这导致了在覆盖大文件时会失败。
202 Accepted
无
无需提供。
ERRO[2023-09-13 23:17:05]/app/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PUT /dav/1drv/******* {"@odata.context":"___REDACTED___","@content.downloadUrl":"___REDACTED___","createdBy":{"application":{"id":"4*****2","displayName":"Alist"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2023-09-13T12:02:32Z","eTag":"___REDACTED___","id":"___REDACTED___","lastModifiedBy":{"application":{"id":"4*****2","displayName":"Alist"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"___REDACTED___","name":"*****","parentReference":{"driveType":"business","driveId":"___REDACTED___","path":"___REDACTED___","siteId":"___REDACTED___"},"webUrl":"___REDACTED___","cTag":"___REDACTED___","file":{"hashes":{"quickXorHash":"___REDACTED___"},"irmEffectivelyEnabled":false,"irmEnabled":false,"mimeType":"application/octet-stream"},"fileSystemInfo":{"createdDateTime":"___REDACTED___","lastModifiedDateTime":"___REDACTED___"},"size":114514}
The text was updated successfully, but these errors were encountered:
Thanks for opening your first issue here! Be sure to follow the issue template!
Sorry, something went wrong.
fix replacing file with upBig()
2efcf83
See https://learn.microsoft.com/zh-cn/onedrive/developer/rest-api/api/driveitem_createuploadsession Closes AlistGo#5217
#2000 出错的原因似乎跟我一样,也是在 WebDAV 下遇到 405 错误。
想要复现这个 Bug,需要覆盖一个 > 4M 的文件(也就是调用了 upBig() 函数)才行。
upBig()
fix(onedrive): overwrite upload big file (close #5217 in #5218)
19b39a5
See https://learn.microsoft.com/zh-cn/onedrive/developer/rest-api/api/driveitem_createuploadsession
Successfully merging a pull request may close this issue.
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 it's due to
AList
and not something else(such as Network ,Dependencies
orOperational
).我确定是
AList
的问题,而不是其他原因(例如网络,依赖
或操作
)。I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。
AList Version / AList 版本
v3.27.0
Driver used / 使用的存储驱动
onedriveAPP
Describe the bug / 问题描述
当用户尝试在 OneDrive 上分段上传一个已经存在的文件时,上传成功的响应状态码为
200 OK
而非201 Created
(参见官方文档)。然而,在 AList 的 OneDrive 驱动中(以 onedriveApp)为例,将
201 Created
和202 Accepted
之外的状态码均认为是失败的结果。我认为这导致了在覆盖大文件时会失败。Reproduction / 复现链接
无
Config / 配置
无需提供。
Logs / 日志
The text was updated successfully, but these errors were encountered: