Private Upload of an Executable
| Project: | Private Upload |
| Version: | 6.x-1.0-rc2 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
I would like to use the private upload module.
I have been able to successfully install and enable the module.
I have also successfully uploaded a jpeg and it acted as expected.
When logged in I could see the jpg, and when I logged out I get a "permission denied" error.
However, when I tried the same with our company's executable I get a "page not found" error.
This occurs whether I'm logged in or not. It tries to open a page, rather than the downloaded file.
If I remove the private checkbox it works perfectly.
Unfortunately then it is available when I am not logged in.
Which is what I am trying to avoid.
I listed this as a bug, but if it is a feature, can you suggest a way around it?
Thanks,
Karyn

#1
Additional information:
Actually it looks like it is a size issue, rather than specific to an executable.
The file I am working with is over 200 MB.
The upload happens, and I have changed the server configuration to allow large uploads (for the site configurator)
so that is not the problem.
If I mark it as not private, it is accessible.
#2
More testing/information.
Turns out it seems to be a naming issue.
If I took a completely different, much smaller executable and uploaded it, it was accessible as expected.
When I renamed that same (smaller) executable the name of our products executable it failed.
I then renamed it to a shorter version of the executable and the retrieval of the file still failed.
Finally I changed one character in the name, and it retrieval of the newly uploaded file worked as expected.
So, where is it "tripping" over the duplicate name?
In the database?
I checked the access and error logs and there was no report of an error.
Just the "page not found" error in Drupal itself.
thank you,
Karyn
#3
I'm just closing this issue because it's old and no one else reports it.