We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to Instantiate a PowerPoint Presentation Object by URL?

@Andrey_Potapov : i have another query code snippet . i want to use URL based pptx file rather than C:\Users\ssanex\Downloads\EclipseWorkSpace\EclipseWorkSpace\ORIGINAL-test.pptx local.
Could you please suggest how to use URL based PPTx file.
Current logic:

Presentation pres = new Presentation("C:\\Users\\ssanex\\Downloads\\EclipseWorkSpace\\EclipseWorkSpace\\ORIGINAL-test.pptx");

URL: https://d21pk8rr0blntf.cloudfront.net/UAM/QA/Done/a052f00000DmKzeAAF/f8dfcb60-797d-331f-ac7d-7df17601b1f7?Expires=1658834798&Key-Pair-Id=APKAJKRNIMMSNYXST6UA&Signature=nX7GBJbdjmTenDDGcq5quZIpcfEhrWuI4pFh3IB1OusQXdqqyyO9VL~0CjV6xN71AHGxoYcW9RgIbGqowCgraFbFnk5iHELiPgslpCPNbOBHTphm5cAkEK1oGTYjSIY82t0rXjr7kroFAt0EcMgtaUfgji3DQFOBXwcdedDv5m3z1O6dR1C~2bU1-B8o~uE6iNJdO2tMM5U0zqa~9Y2tTuNMRd6c8NP8SJLkGw3Ig613jHGqTFXyI2D-AuOhgcAeKy5UZEEA7PfDflpr8Dx-A8hgCktIZXTf~UcApYwefvcjV8EOjV2cp05aCzmBKh9AtgFtc68wqBiLUa7pKiVouA__

if we click URL on the browser and presentation file will download.

@ssanex,
Thank you for posting your requirements. Unfortunately, Aspose.Slides does not have such an ability. I’ve added a ticket with ID SLIDESJAVA-38874 to our issue tracking system. Our development team will consider such a feature. You will be notified when the issue is resolved.

@ssanex,
Our developers reviewed your requirement. The presentation can be instantiated from the Stream. If you want to instantiate a presentation from an URL, you can use the following code snippet:

InputStream input = new URL(myUrl).openStream();
Presentation pres = new Presentation(input);