소스 검색

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

Source commit: 30849c99a4b311adb8d0889373efb7156eae3da9
Martin Prikryl 7 년 전
부모
커밋
9a7d3e2999
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      source/core/SftpFileSystem.cpp

+ 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;