Closed (duplicate)
Project:
Web File Manager
Version:
6.x-2.10-rc4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2009 at 21:33 UTC
Updated:
18 Jul 2010 at 21:36 UTC
Could you implement webfm_file_download (hook_file_download) in the same way of cck filefield ?
Because if we use this technic to set private files, that doesn't works with this module
Thank you
Comments
Comment #1
sinasquax commentedI have implemented it but it's not finished (look at browser access if file is not attached to a node and check for uid of file, ...)
Comment #2
nhck commentedhook_webfm_send cannot take care of this? Also what about #437196: WebFM Folder Access rules based upon IP Ranges?
Comment #3
sinasquax commentedComment #4
sinasquax commentedThere is a bug in my function, here is the correct function :
Comment #5
nhck commentedThere is a patch over here: #591144: Implement hook_file_download Care to test it?