1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hello,
I understand that you’re facing an issue while reading a GZIP file from S3 in .NET SDK.
When using AWS SDK for .NET there is no direct support for specifying byte ranges in the “GetObjectRequest” class, [1]. This could explain why, you’re receiving "Error GZIP header, first magic byte doesn't match" exception. Similar issue is pointed out here [2].
To read the file in byte ranges try specifying the range of bytes you want to download in your code and add the Range header to the request [3].
=========
[1]https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html#API_GetObject_RequestSyntax
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans