Add remote file system support (like S3)

Created on 6 June 2022, over 2 years ago
Updated 13 September 2023, over 1 year ago

Problem/Motivation

Use of realpath() function has a limitation for local files only. For remote files it returns FALSE.
See the documentation /core/lib/Drupal/Core/File/FileSystemInterface.php:

The use of this method is discouraged, because it does not work for remote URIs. Except in rare cases, URIs should not be manually resolved.

Proposed resolution

Replace realpath() function with stream wrapper methods.
This allows us to use remote file systems like S3 File System β†’ .

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine vselivanov Kyiv, Ukraine

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024