Browse Source

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

https://winscp.net/tracker/2126

Source commit: d69d538e9269fcad6189f93497aca6b8cd20c5f9
Martin Prikryl 3 years ago
parent
commit
360e16107b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      source/core/WebDAVFileSystem.cpp

+ 4 - 0
source/core/WebDAVFileSystem.cpp

@@ -1203,6 +1203,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;