瀏覽代碼

Bug 2126: Moving WebDAV transfer to background aborts the transfer if the server commits the interrupted foreground transfer

https://winscp.net/tracker/2126
(cherry picked from commit 360e16107bfe10186723d87b5140a656baf10154)

Source commit: 54e04a12d67e68967c25895893a7fb99c4df0aaa
Martin Prikryl 3 年之前
父節點
當前提交
a7deedbc95
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      source/core/WebDAVFileSystem.cpp

+ 4 - 0
source/core/WebDAVFileSystem.cpp

@@ -1171,6 +1171,10 @@ void __fastcall TWebDAVFileSystem::ConfirmOverwrite(
   switch (Answer)
   {
     case qaYes:
+    // Can happen when moving to background (and the server manages to commit the interrupeted foreground transfer).
+    // WebDAV does not support resumable uploads.
+    // Resumable downloads are not implemented.
+    case qaRetry:
       // noop
       break;