whs-junkyard / elFinder-driver

*unmaintained* Drivers for elFinder
11 stars 5 forks source link

List a initial Folder #12

Open viniciuseduardo opened 8 years ago

viniciuseduardo commented 8 years ago

Hello,

I am using the driver to connect to S3, but I think the operation is not correct. It does not list the contents of the bucket and not upload the file correctly.

Follow my setup: $ elFinder = new elFinder (array (      'debug' => true,      'roots' => array (          array (              'driver' => 'S3'              'path' => 'site-arquivos.s3-website-sa-east-1.amazonaws.com'              'URL' => 'http//site-arquivos.s3-website-sa-east-1.amazonaws.com/'              "S3" => array (                  "key" => "AKIAJ4C4TRWBUAUOG3FQ"                  "secret" => "jxjKzX8f97pkiCnO8IfIo8z + + nrNXpqInh0LRJ7P"                  "region" => "us-east-1"              )              "bucket" => "site-Files"              "acl" => "public-read-write"          )      ) ));

Another point, how do I inicar of a specific directory in the bucket? When I put the startPath parameter, returns a 403 error.

Thank you for your help.