Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Advanced File Destination

6 sites No security coverage
View on drupal.org

This module allows users to choose and create custom directories when uploading files, with granular permissions and support for various file systems and entity types. It offers a flexible solution for organizing files, including user-specific folders and content-type specific directory configurations.

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
1 year ago
Releases (12 mo)
0 ▼ from 20
Maintenance
Dormant

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