WebApp access to a file stored on server

I have a pdf file store on my Digital Ocean server at this address

http://000.00.00.00/home/username/d/documents/test.pdf

How can I show it’s content in an htmlviewer?

Maybe with MBS Plugin @Christian_Schmitz CURL? I think digital ocean use AWS S3 for storage…

Is the file on the same server as your web app?

yes but for making testing I also need to access file from my local computer

So the file is no direct Internet accessible, right?
I’m sorry I haven’t worked with this kind of situation.

The trick is that not all browsers natively support showing PDFs.

You could use a library like this though…

1 Like