I have node with attached file. Node attachments view look:

enter image description here

sample.pdf link has url like sites/default/files/sample.pdf. I can download file via this link.

Links with icons has URL like download/file/fid/[id]

I can't download some of files via icon links (403).

How can I change this behaviour? I want those links point to `sites/default/files/sample.pdf


I believe, there can be custom or some contributed module doing the trick. The menu - download/file/fid/[id] is created by some module and allowing you to download the file. Might be a case that the logic is written in the same callback.

try searching your modules with this callback and you might see some results...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.