Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, I have a multisite drupal. I set all drupal sites with a private download because some of the sites are private.
When I try to download a file upload in a CCK, with private downloads, it don't work; but when I try with public downloads, it work.
Did I misconfigured something?
Comment | File | Size | Author |
---|---|---|---|
#6 | filefield_private_downloads.patch | 843 bytes | jpetso |
Comments
Comment #1
dopry CreditAttribution: dopry commentedI haven't developed or tested private files support. So you haven't misconfigured anything. Its just not an existing feature yet.
Comment #2
enboig CreditAttribution: enboig commentedIs there intention to do so? I would really apreciate this
thanks
Comment #3
Marandb CreditAttribution: Marandb commentedI currently have a site running filefield with private files enabled. Don't know if there has been a recent fix or if it just works by default.
Anyway, just wanted to let you know.
-- Marandb
Comment #4
daleeman CreditAttribution: daleeman commentedI would like to see this too. Im in the process of figuring out how to do this, myself. If I come up with a patch, I'll be sure to post.
Thanks
Comment #5
daleeman CreditAttribution: daleeman commentedI would like to see this too. Im in the process of figuring out how to do this, myself. If I come up with a patch, I'll be sure to post.
Thanks
Comment #6
jpetso CreditAttribution: jpetso commentedAnalogous to the conceptually similar patch for imagefield, here's a patch to make private downloads work by clearing the field's session variable after storing the file.
Please review and apply (the patch is for HEAD).
Comment #7
jpetso CreditAttribution: jpetso commentedCommitted to HEAD. Filefield should now work with private downloads in all situations.
Comment #8
(not verified) CreditAttribution: commented