Working with Files in Storage – Aspose.HTML Cloud

Storage Files

Aspose.HTML Cloud allows you to work with storage files - documents saved on the cloud storage and use the storage for various scenarios. The most common use cases are cloud backup, disaster recovery and archiving infrequently accessed data. Having your files into cloud storage will also give you the ability to share them with friends or co-workers.

Storage services enable developers to store data in the cloud, relying on authentication and other access features that control who can get to the data. If you need any information about getting started with Aspose.HTML Cloud, please refer to the Create an Account and Get Credentials article.

Examples of Working with Storage Files

This article provides a description of SDK and REST methods to manipulate files in the cloud storage, i.e. upload, download or delete files.

Example 1: Check if a file exists in the storage

The following example demonstrates how to check if a file exists in the storage.

Example 2: Upload file from local file system to specified storage

The following example demonstrates how to upload a file by its local file system path to the specified storage.

Example 3: Download file from cloud storage to local file system

The examples below show how to download a file from storage to the local file system using SDKs and REST API calls.

Example 4: Delete a storage file by its path from the specified or default storage

Install Aspose.HTML Cloud SDK for .NET via NuGet. Complete source code of Aspose.HTML SDK for .NET is freely available on the GitHub repository.

Aspose.HTML provides the Cloud SDK Family to access files and folders stored in the user associated Aspose Cloud Storage or any other Cloud Storage of your choice.

See Also