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

Dave Reid’s picture

Status: Active » Closed (works as designed)

I cannot confirm the same issue running file_scan_directory('public://', '/.*/'); or with the temporary directory. It must be a bug in the S3 wrapper.

boombatower’s picture

Project: Drupal core » Amazon S3
Version: 8.x-dev » 7.x-1.0-alpha1
Component: file system » Code
Status: Closed (works as designed) » Active