Skip to main content
Participant
Jul 5, 2022 9:35 AM UTC
Question

Convert PDF from URL

Hi There,

 

Is there a way where I can convert a pdf file from a url using pdf service api?

 

Thanks

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    Kyle Julé24692827
    Adobe Employee
    Adobe Employee
    Jul 18, 2022 2:29 PM UTC

    Hi there,

    Have you tried using one of our SDK sample code projects to test with? There is no reason why you can't use a document that's stored on a server somewhere.

    https://developer.adobe.com/document-services/docs/overview/pdf-services-api/#sdk

    Translate
    vishal010Author
    Participant
    Jul 19, 2022 4:23 AM UTC

    FileRef.CreateFromURI() method only works for HTML to PDF operations as of now.

    However I managed to download the stream and use FileRef.CreateFromStream() with one caveat. It couldn't worked when downloaded stream using HTTPClient framework class and worked only with WebClient class.

     

    Translate