mirror of
https://github.com/winscp/winscp.git
synced 2026-10-24 02:28:55 +03:00
Bug 1604: Configurable mapping from file extension to Content-Type
https://winscp.net/tracker/1604 Source commit: d281df33649c7f2ebe228cbbf98a9fe01316621d
This commit is contained in:
@@ -1314,7 +1314,7 @@ void __fastcall TS3FileSystem::Source(
|
||||
|
||||
TLibS3BucketContext BucketContext = GetBucketContext(BucketName);
|
||||
|
||||
UTF8String ContentType = UTF8String(GetFileMimeType(Handle.FileName));
|
||||
UTF8String ContentType = UTF8String(FTerminal->Configuration->GetFileMimeType(Handle.FileName));
|
||||
S3PutProperties PutProperties =
|
||||
{
|
||||
(ContentType.IsEmpty() ? NULL : ContentType.c_str()),
|
||||
|
||||
Reference in New Issue
Block a user