Jump to content

Viewing remote PDF files


david_navigator

Recommended Posts

I'm trying to use the TUniPDFFrame to display a pdf that is located on a remote server, but I get the error
PDF.js v1.9.426 (build: 2558a58d)
Message: file origin does not match viewer's

Is it a prerequisite that the PDF file has to be located on the same server as the UNIGui app ?
This is the PDF file URL https://objects-us-east-1.dream.io/navigator/pub/HireTRACK NX/HireTrack NX Trial Guide.pdf

(UniGui 1.90 Registered.)

Link to comment
Share on other sites

1 hour ago, david_navigator said:

I'm trying to use the TUniPDFFrame to display a pdf that is located on a remote server, but I get the error
PDF.js v1.9.426 (build: 2558a58d)
Message: file origin does not match viewer's

Is it a prerequisite that the PDF file has to be located on the same server as the UNIGui app ?
This is the PDF file URL https://objects-us-east-1.dream.io/navigator/pub/HireTRACK NX/HireTrack NX Trial Guide.pdf

On the other hand, can you "download" external links to the PDF to the server first, and then "load" them from the local folder!?

Link to comment
Share on other sites

 

47 minutes ago, Sherzod said:

On the other hand, can you "download" external links to the PDF to the server first, and then "load" them from the local folder!?

Yes I should be able to do that, I was really just seeing if it was necessary or if the error message was because I forgot to set some property.

Link to comment
Share on other sites

  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...