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
- The Conversion API chapter describes how to convert HTML, EPUB, XHTML, MHTML, Markdown, and SVG files to the most popular formats by calling directly the REST API by HTTP requests or using a set of Cloud SDKs.
- The Available SDKs article introduces you to Aspose.HTML Cloud’s ability to use SDKs in various programming languages, such as C#, Java, Python, Ruby, PHP, Node.js, Swift, Android, and C++.
- Aspose.HTML Cloud API you can call directly from your browser by accessing the API Reference.
- Aspose.HTML offers free online Converters to convert HTML, XHTML, MHTML, EPUB, XML, or Markdown documents to PDF, XPS, DOCX, JPG, PNG, BMP, TIFF, GIFF, Markdown, and other formats. Select the file, choose the format to save, and you’re done. It’s fast and completely free!