Cloud-based Excel File Management Solution – Detailed Explanation of Aspose.Cells Copy File API’s Batch Copy Functionality

Excel API: Copy File

Web API

PUT https://api.aspose.cloud/v4.0/cells/storage/file/copy/{srcPath}

Note: All Aspose Cloud endpoints require HTTPS.

Function Description

The copyFile API allows users to duplicate an Excel file from a specified source path to a destination path, supporting various storage options.

Security and Authentication

The Aspose.Cells Cloud APIs are secure and require JWT token-based authentication.

-H "Authorization: Bearer {access_token}"

The request parameters of the copyFile API are

Parameter Name Type Path/Query String/HTTPBody Description
srcPath String Path The source path of the file to be copied.
destPath String Query The destination path where the file will be saved.
srcStorageName String Query The name of the source storage.
destStorageName String Query The name of the destination storage.
versionId String Query Optional version ID of the file to copy.

Response Description

The operation returns no content on success. Typical HTTP status codes are:

Status Code Meaning
200 OK File copied successfully.
400 Bad Request Invalid request parameters.
401 Unauthorized Authentication failed or token missing.
404 Not Found Source file not found.
500 Internal Server Error Unexpected server error.

OpenAPI Specification

The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

Excel API SDK

Using an SDK is the best way to accelerate development. An SDK manages low‑level details, allowing 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: