Local File Conversion – Aspose.HTML Cloud

This article explains how to convert local files using Aspose.HTML Cloud API in both synchronous and asynchronous modes. While this example demonstrates converting HTML to PDF, the API supports many other formats. You can convert between the following formats by simply changing the URL path:

Before starting, make sure you have obtained an authorization token. See Authorization Guide for more information.

Local File Conversion Process

Aspose.HTML Cloud offers two methods for local file conversion:

Step 1: Upload Local File to Cloud Storage

Before conversion, you need to upload your local file to Aspose Cloud storage.

Step 2: Convert Uploaded File (Sync and Async)

For synchronous and asynchronous conversion, follow the same approach as described in the File Conversion Guide, using the uploaded file path as InputPath.

See Also