diff --git a/src/aws-cpp-sdk-transfer/source/transfer/TransferManager.cpp b/src/aws-cpp-sdk-transfer/source/transfer/TransferManager.cpp index 83e363137b3..cc1676340e1 100644 --- a/src/aws-cpp-sdk-transfer/source/transfer/TransferManager.cpp +++ b/src/aws-cpp-sdk-transfer/source/transfer/TransferManager.cpp @@ -526,7 +526,7 @@ namespace Aws TriggerTransferStatusUpdatedCallback(handle); auto putObjectRequest = m_transferConfig.putObjectTemplate - .WithChecksumAlgorithm(m_transferConfig.checksumAlgorithm) + .WithChecksumAlgorithm(m_transferConfig.computeContentMD5 ? S3::Model::ChecksumAlgorithm::NOT_SET : m_transferConfig.checksumAlgorithm) .WithBucket(handle->GetBucketName()) .WithKey(handle->GetKey()) .WithContentLength(static_cast(handle->GetBytesTotalSize()))