Hi Yoran,

I installed your latest dev version (2010-Sep-19) and i had some issues when trying download file(s):

  1. When you set the dir_listing's Folder Rights -> Download Manager -> Direct download, you got the right url http://example.com/filebrowser/download/xxxx.ext but it's redirect to http://example.com/xxxx.ext and you got a error 403. My Drupal is set by default as "Public". For info, it's works well when you set the Folder Rights to "Private"
  2. My second issue is directly linked to the first (means in this case the folder rights is set to "Private download"): if the file is a JPG or a PDF for example, it's displaying in the browser and the file is not forcing to download. The function filebrowser_filebrowser_download_manager_process() is not called.
  3. The third issue comes from the Zip Archive. If apache/php has a Read/Write access (_www, 7) to the Target Folder: No Problem. If Apache has just the Read Access (_www, 5) , you got a "Access Denied" page; that i don't understand because the Zip Archive is well created in the Temporary Folder /tmp.

Comments

Nicolas Georget’s picture

By the way, i forgot one thing which is a outcome my first issue (in "Public Mode"), one of your function truncate the File's name. For example:

  • File 002_Promo.100901.1450.pdf becomes _Promo.100901.1450.pdf
  • File signature.100820.1908.pdf becomes nature.100820.1908.pdf

It truncate the first 3 letters. Of course, you got a 404 Error each times (and not a 403 error as i wrote in my previous message).

Yoran’s picture

Status: Active » Postponed (maintainer needs more info)

This is very odd. Do you mind making 3 issues from this one. Else it'll be very difficult for me to track problems and solutions;

Nicolas Georget’s picture

Assigned: Nicolas Georget » Unassigned
Status: Postponed (maintainer needs more info) » Closed (won't fix)

Ok. I will. Indeed it would be easier for you to track them. In the meanwhile, i'm going to reproduce all of this issues on a proper Drupal install.

Bon Week tout de même ;-)