Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
edited tags; edited title
Link
leymannx
  • 18.8k
  • 6
  • 72
  • 126

File How can I have the file upload destination should be private files by default if available? D8

Source Link

File upload destination should be private files by default if available? D8

Currently Webform file component uses public files as default upload destination. This is probably because private files path is not always available if not configured in Drupal settings correctly.

File upload destination should be made automatically "private files" by default if available.

I found same issue with Drupal7, is there any patch or way for Drupal8?

Or better if we do it by some setting in the local.settings.php or some similar cofniguraions?

https://www.drupal.org/forum/support/upgrading-drupal/2012-10-08/changing-public-file-field-into-private