Hi All,
Is there a way i can get the PDF direct url?
Currently I can only get /article/viewFile/4/3. What I want is to get this uploads/journals/2/articles/4/public/4-20-1-PB.pdf.
Thanks!
Hi All,
Is there a way i can get the PDF direct url?
Currently I can only get /article/viewFile/4/3. What I want is to get this uploads/journals/2/articles/4/public/4-20-1-PB.pdf.
Thanks!
Hi @Nazimm,
You don’t want to expose your OJS files area for direct access through the web server; that would prevent all access control by OJS and would also expose unpublished content (author submissions that were still in progress, for example). It may also be a security risk, as authors could upload things like PHP scripts that might be server-executable. Could you describe what you want to do, and maybe I can suggest another way?
Regards,
Alec Smecher
Public Knowledge Project Team