Drupal is a registered trademark of Dries Buytaert

advanced_file_destination

3 sites No security coverage
View on drupal.org

The Advanced File Destination module enhances file upload management in Drupal by allowing users to choose and create custom directories during file uploads. It integrates with multiple entity types and offers comprehensive permission controls for organizing file destinations across public and private file systems. It provides a complete solution for sites with complex media organizational needs, user-specific folders, and granular access requirements.

Community Documentation

Features

  • Custom Directory Selection: Choose the target folder when uploading files through an intuitive interface.
  • Directory Creation: Create new folders directly during the upload process without leaving the content editing experience.
  • Permission-Based Access: Granular permissions to control who can manage or access specific folders and subfolders.
  • Focal Point Module Support: Image renditions generated by the Focal Point module will be saved in the directory specified by the Advanced File Destination module.
  • Stream Wrapper Support: Supports public://, private://, assets://, and temporary:// file systems.
  • Entity Integration: Works with Media, File.
  • Directory Management Interface: Built-in admin UI to manage and configure folder structures.
  • Revision Tracking & Subdirectories: Advanced organization and traceability of directory changes.
  • User-Specific Directories: Automatically create and manage user-specific upload directories.
  • Content Type Integration: Configure different directory settings per content type/field.

Routes and Administration

  • Main Configuration: /admin/config/media/advanced-file-destination
  • Directory Management: /admin/config/media/advanced-file-destination/directories
  • Add Directory: /admin/config/media/advanced-file-destination/directories/add
  • Directory Permissions: /admin/config/media/advanced-file-destination/permissions

Permissions

  • Administer advanced file destination: Full control of all module settings.
  • Access advanced file destination: Base access to the directory selection interfaces.
  • Create advanced file destination directories: Ability to create new folders during upload.
  • Access private files: Permission to use private file stream destinations.
  • Manage directory permissions: Configure who can access specific directories.
  • Access restricted directories: Special access to limited directories.

Post-Installation

  1. Enable the module at /admin/modules.
  2. Set user permissions at /admin/people/permissions.
  3. Configure the module settings at /admin/config/media/advanced-file-destination:
    • Select entity types where the feature is enabled
    • Set the default upload directory
    • Configure display preferences
    • Enable and configure private file system support
  4. Manage directories at /admin/config/media/advanced-file-destination/directories.

Integration

The Advanced File Destination module integrates with:

  • Media Library
  • File Field
  • Image Field
  • File Field

Additional Requirements

  • Drupal 11.x
  • Core modules: File, System, Media

Similar projects

While similar in concept to Media Library and IMCE, Advanced File Destination offers a more flexible and permission-driven approach, especially for sites requiring directory creation, stream wrapper support, and integration beyond Media entities.

Supporting this Module

If you'd like to support ongoing development, please consider contributing or sponsoring the maintainer on Drupal.org.

Advanced File Destination for Drupal 11 is built with Gen AI support from GitHub Copilot, using Agent mode with Claude 3.7 Sonnet.

Activity

Total releases
20
First release
Apr 2025
Latest release
9 months ago
Release cadence
2 days
Stability
55% stable

Release Timeline

Releases

Version Type Release date
1.0.11 Stable May 29, 2025
1.0.10 Stable May 25, 2025
1.0.9 Stable May 24, 2025
1.0.8 Stable May 24, 2025
1.0.7 Stable May 23, 2025
1.0.6 Stable May 23, 2025
1.0.5 Stable May 23, 2025
1.0.4 Stable May 23, 2025
1.0.3 Stable May 14, 2025
1.0.1 Stable Apr 23, 2025
1.0.0 Stable Apr 21, 2025
1.0.0-beta8 Pre-release Apr 21, 2025
1.0.0-beta7 Pre-release Apr 21, 2025
1.0.0-beta6 Pre-release Apr 21, 2025
1.0.0-beta5 Pre-release Apr 20, 2025
1.0.0-beta4 Pre-release Apr 19, 2025
1.0.0-beta3 Pre-release Apr 18, 2025
1.0.0-beta2 Pre-release Apr 17, 2025
1.0.0-beta1 Pre-release Apr 12, 2025
1.0.x-dev Dev Apr 12, 2025