Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using amazons3 module I am trying to do file_scan_directory('s3://') and it does not work. Looking in the amazons3 stream wrapper class it gets the path as "s3:" which is wrong. When using scandir('s3://') things work as expected.
Comments
Comment #1
Dave ReidI cannot confirm the same issue running
file_scan_directory('public://', '/.*/');
or with the temporary directory. It must be a bug in the S3 wrapper.Comment #2
boombatower CreditAttribution: boombatower commented