Pdf to html conversion from remote systems

Hi,

I want to convert a pdf file to html file in other systems.Suppose I have a pdf file in System A and the code for conversion in System B. Then how to convert the pdf in System A.

Thanks,

Vasavi

Hi Vasavi,


Aspose.Pdf for Java supports the feature to convert PDF files to HTML format. You can either provide PDF file by using Stream object or by providing complete file path. Now concerning to your scenario, you may consider loading the PDF file from network path and then try performing the conversion. Please take a look over following code snippet.

[Java]

// load source PDF file<o:p></o:p>

com.aspose.pdf.Document doc = new com.aspose.pdf.Document("c:/pdftest/SourceFile_Converted.pdf");

// save output in HTML format

doc.save("c:/pdftest/SourceFile_Converted.html", com.aspose.pdf.SaveFormat.Html);


Besides this, you may consider using ConversionApp of our sister company named GroupDocs as the application is based on Cloud services so you can use it over any platform. For more information, please visit ConversionApp.