Skip to main content

S3_File.size

size

Group: Metadata

Documentation

Returns the size of a file in bytes.

Errors

  • If the S3_File represents a directory, an S3_Error error is thrown.
  • If the bucket or object does not exist, a File_Error.Not_Found is thrown.
  • If the object is not accessible, an S3_Error is thrown.