Files and Storage
Aspose.Words Cloud provides helper functions to work with files uploaded to Aspose.Words Cloud Storage or any other Cloud Storage of your choice. If you need any help getting started with setting third party storage please refer to Aspose Cloud UI Help Topics.
Downloading a file from Cloud Storage
API | Type | Description | Swagger Link |
---|---|---|---|
/words/storage/file/{path} | GET | Download a File from Storage | DownloadFile |
You can use cURL command-line utility to test this REST API. The following examples demonstate how to do it. Please read these instructions to receive a personal JWT_TOKEN
for authorization.
Uploading a file to Cloud Storage
API | Type | Description | Swagger Link |
---|---|---|---|
/words/storage/file/{path} | PUT | Upload a file to Cloud Storage | UploadFile |
The following code demonstrates how to upload a file to Cloud Storage with cURL.
Copying a file to a new location in Cloud Storage
API | Type | Description | Swagger Link |
---|---|---|---|
/words/storage/file/copy/{srcPath} | PUT | Duplicate a file to a new location on Cloud Storage | CopyFile |
The following code demonstrates how to copy a file to a new location in Cloud Storage with cURL.
Moving a file to a new location in Cloud Storage
API | Type | Description | Swagger Link |
---|---|---|---|
/words/storage/file/MOVE/{srcPath} | PUT | Move a file to a new location on Cloud Storage | MoveFile |
The following code demonstrates how to move a file to a new location in Cloud Storage with cURL.
Deleting a file from Cloud Storage
API | Type | Description | Swagger Link |
---|---|---|---|
/words/storage/file/{path} | DELETE | Delete a file from Cloud Storage | DeleteFile |
The following code demonstrates how to delete a file from Cloud Storage with cURL.