瀏覽代碼

Using multipart uploads with S3 protocol on Google Cloud as it is supported there now

Undoing Bug 1972:
https://winscp.net/tracker/1972

Source commit: 1195af44893f4644004eb0d2fc8722dc86d164d3
Martin Prikryl 4 年之前
父節點
當前提交
b8f51b4935
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      source/core/S3FileSystem.cpp

+ 0 - 6
source/core/S3FileSystem.cpp

@@ -1590,12 +1590,6 @@ void __fastcall TS3FileSystem::Source(
   int ChunkSize = std::max(S3MinMultiPartChunkSize, static_cast<int>((Handle.Size + Parts - 1) / Parts));
   DebugAssert((ChunkSize == S3MinMultiPartChunkSize) || (Handle.Size > static_cast<__int64>(S3MaxMultiPartChunks) * S3MinMultiPartChunkSize));
 
-  if ((Parts > 1) && IsGoogleCloud())
-  {
-    FTerminal->LogEvent(L"Cannot use multipart upload with Google Cloud.");
-    Parts = 1;
-  }
-
   bool Multipart = (Parts > 1);
 
   RawByteString MultipartUploadId;