Fetch and store file like it was uploaded & join forces with filefield_sources

Created on 27 March 2023, over 1 year ago

Problem/Motivation

For Drupal 7 there was https://www.drupal.org/project/filefield_sources β†’ which worked great to

  • Upload files
  • Fetch files from remote URL
  • (the other options are provided by media library on a higher level, so not really needed)

but the module is still in alpha state and has no Drupal 10 release.

If I understand the architecture of this module directly, it doesn't fetch and store files, like they were uploaded, but instead reference the remote source.

If the current architecture is needed, in some cases, would it be an option to join forces with filefield_sources and provide an option ("radio buttons" separate form widgets) on the file field to either use a link to the remote field or instead fetch the source once, like it was uploaded?

There are use-cases for both, for example if you have an existing page where assets are stored or a remote media tool, where you need to fetch files from. Sometimes you want the remote "link", sometimes you want a copy.

What do you think?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024