Does Aspose support reading a document from http(s) address

Hi , support team,



Does Aspose support reading a document from http(s) address , see sample code below .



— below code works ----

string OneNote_FilePath = @"\Server_name\G$\test.one";

string PDF_New_FilePath = @"\Server_name\G$\test.one_out.pdf";



Document oneFile = new Document(@OneNote_FilePath);

oneFile.Save(@PDF_New_FilePath, SaveFormat.Pdf);



but when change OneNote_FilePath to https , it wont work.

string OneNote_FilePath = @"https://xxxx.xxx.net/sites/test.one"; ( this is a onenote document on sharepoint site)



Thanks!

@sarahxu,

We are sorry for a late response.

The API doesn’t support reading from URLs. You can, however, retrieve the information from web url using C# and then load it into Document object using memory stream. Please let us know if we can be of any help to you in this regard.