1
0
Эх сурвалжийг харах

Not using resumable download when encrypting files (part of Bug 1653)

Source commit: 30849c99a4b311adb8d0889373efb7156eae3da9
Martin Prikryl 7 жил өмнө
parent
commit
9a7d3e2999

+ 2 - 1
source/core/SftpFileSystem.cpp

@@ -5213,7 +5213,8 @@ void __fastcall TSFTPFileSystem::Sink(
   bool ResumeAllowed =
     FLAGCLEAR(Params, cpTemporary) &&
     !OperationProgress->AsciiTransfer &&
-    CopyParam->AllowResume(OperationProgress->TransferSize);
+    CopyParam->AllowResume(OperationProgress->TransferSize) &&
+    !FTerminal->IsEncryptingFiles();
 
   HANDLE LocalHandle = NULL;
   TStream * FileStream = NULL;