Cloud-based Excel File Management Solution – Interface for Fast File Download in the Cloud
Excel API: Download File
Web API
GET https://api.aspose.cloud/v4.0/cells/storage/file/{path}
Version – This documentation refers to API version v4.0, which is the latest release at the time of publishing.
Function Description
The DownloadFile API enables you to retrieve files stored in Aspose.Cells Cloud storage. The Download File API is essential for accessing Excel spreadsheets, PDFs, CSVs, and other supported formats directly from the cloud.
The request parameters of DownloadFile API are
| Parameter Name | Type | Location (Path / Query) | Description |
|---|---|---|---|
| path | String | Path | The virtual path to the file you want to download. |
| storageName | String | Query | The name of the storage from which the file will be retrieved. |
| versionId | String | Query | The version identifier of the file to download, if applicable. |
Response Description
The API returns a binary file stream. The Content-Type header matches the file format (e.g., application/vnd.openxmlformats-officedocument.spreadsheetml.sheet for XLSX). No JSON payload is returned.
Error handling
| HTTP Code | Error Code | Message |
|---|---|---|
| 400 | BadRequest | The request is malformed or missing required parameters. |
| 401 | Unauthorized | Authentication failed – missing or invalid token. |
| 404 | FileNotFound | The specified file does not exist in the given storage. |
| 500 | ServerError | An unexpected error occurred on the server. |
OpenAPI Specification
The OpenAPI Specification defines a publicly accessible programming interface and allows you to perform REST interactions directly from a web browser.
Excel API SDK
Using an SDK is the best way to speed up development. An SDK handles low‑level details and enables you to focus on your project tasks. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples demonstrate how to make calls to Aspose.Cells web services using various SDKs: