How I can open local file?


I use the OnlyOffice via Docker and stores files in S3 semi-compatible to AWS. Files opens a slow (7-15 seconds long await) and it’s unsatisfactory. I add route into Yii2 App what send a file though HTTPS. Script send file successful because I saved a something copies of file when tested it. But OnlyOffice can’t open a file by route link.

How header requires add to the response to open? How content-types can be?

Thanks for any ideas,

Hello @DEMo

In order to open a document with Document Server you must pass the direct URL to the document as it is stated in How it works section:

If by route link you mean directory path to your document on your server, then, I’m afraid, you are correct.