I'm working on upgrading our software to target .NET Standard. I note that the AWS SDK does not support the AWS.S3.IO library, and therefore the S3FileInfo
code we used previously needs to be updated.
One that jumps out is the Length
and Exists
methods. These used to do a HEAD request to S3 to determine what was required. I can't see an equivalent right now - and it looks as though I'll have to do a GetObjectRequest
instead, which is a full GET request.
Is this correct, or is there a way to perform a HEAD operation to check for existence and length in the .NET Standard AWS SDK?