- 最新
- 最多得票
- 最多評論
Based on your code have you tried setting the objectmetadata?
ObjectMetadata objectMetadata = new ObjectMetadata();
objectMetadata.setContentEncoding("gzip");
objectMetadata.setContentType("application/x-gzip")
....
Request.SetObjectMetadata(objectMetadata);
I don't have a good repro with the CDK et al. but it will be something like this to force the encoding to be handled correctly.
You can probably check the
I believe theres a known issue using the CDK to upload a zip causing it to fail when its unzipped for the GameLift realtime fleet.
See https://forums.awsgametech.com/t/realtime-server-fleet-******
Hi @REDACTEDUSER I have looked into your prior messages on https://forums.awsgametech.com/t/realtime-server-fleet-****** However I have looked through my code and I can't see an option to change anything like that:
UploadPartRequest Request = new UploadPartRequest();
Request.BucketName = Params.GetBucketName();
Request.FilePath = Params.GetFullPath();
Request.Key = Params.GetKeyName();
WaitingUploads.Add(S3Client.UploadPartAsync(Request));
The upload part request doesn't seem to have too many built in options? Do you know how I can set these properties? Thanks, Jack
相關內容
- AWS 官方已更新 1 年前