Working with Folders in Storage – Aspose.HTML Cloud
Working with Folders
Aspose.HTML Cloud allows you to work with files and folders in cloud storage. The most common storage use cases are cloud backup, disaster recovery, and archiving infrequently accessed data.
Aspose.HTML Cloud v4.0 allows you to work with and manipulate folders in cloud storage and provides the ability to use its functionality either directly through the REST API or through a set of wrappers implemented as SDKs for various programming languages, such as Python, PHP, Java/Android, Swift, C#, Node.js, and Ruby.
Examples of Working with Folders in Storage
Example 1. Check if a directory exists in storage
The examples below demonstrate how to check if a directory exists in the storage. The directory is specified by a path and the storage is specified by the storage name.
Example 2: Create a directory in specified or default storage
The examples below demonstrate how to create a directory in the storage. All parent directories specified in the directory Uri path will be created too if they don’t exist.
Example 3: Delete a directory by a specified path from specified or default storage
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.
- The GitHub repository for Aspose.HTML for Cloud has a complete set of examples, demonstrating our API capabilities.
- 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!