Hi,
I have two files in a directory:
1) somefile.txt 2) somefile.pdf
The first one was uploaded via page.module and the other via node_files.module (but I think this is irrelevant).
I have set files to "Private" in Drupal.
If I browse to: mysite/system/files/somefile.txt the text file opens perfectly. When I browse to mysite/system/files/somefile.pdf, I get "page not found". I double-checked that the file actually exists in the folder, and that it opens correctly from within Windows with Acrobat Reader. I have also confirmed that the files are both in the same directory and that the file name case is the same (although that doesn't bother Windows), and that the paths for both downloads from my site is exactly the same.
Any ideas why would one file give me a "page not found" and the other one work fine?
Thanks in advance!
Kobus
"Kobus Myburgh" wrote:
I have two files in a directory:
- somefile.txt
- somefile.pdf
[clipped]
Any ideas why would one file give me a "page not found" and the other one work fine?
Have you confirmed that your configuration for that/those module/s is set to allow files with the ".pdf" extension to be recognized?
(I don't use those modules you mentioned for uploading, I use others, but generally there are some settings for permitted types.)
Just a thought. -- Gary