Skip to main content

OneDrive_File.size

size

Group: Metadata

Documentation

Returns the size of a file in bytes.

Errors

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

Remarks

If the file is a data link that points to a file, the size of the target file will be returned.