File Info – Excel File Metadata and Base64 Content (Aspose.Cells Cloud API)

FileInfo Properties

Name Type Description
FileName string The name of the file, including its extension.
FileSize long The size of the file in bytes.
FileContent string Contains the raw Excel file data encoded in Base64.

The response is returned as JSON with the same three properties shown in the table above, for example:

{
  "FileName": "MyWorkbook.xlsx",
  "FileSize": 254312,
  "FileContent": "UEsDBBQABgAIAAAAIQD..."
}

Errors

HTTP Code Meaning When It Occurs
200 OK – request succeeded. Normal response.
401 Unauthorized Missing or invalid authentication token.
404 Not Found The specified file does not exist.
500 Internal Server Error Unexpected server‑side failure.

For each error, ensure the authentication token is valid (401), verify the file path (404), or consult the generic error‑handling guide for retry strategies (500).

See Also