Elfinder: How can mount network volume S3-BUCKET to elfinder ?

Created on 18 Apr 2018  ·  5Comments  ·  Source: Studio-42/elFinder

I want one more option for aws s3bucket so that i can also mount the s3 volume
screenshot from 2018-04-18 15-59-25

Thanks

question

Most helpful comment

I made a working demo of S3 connector with full code example at this repo: https://github.com/bayucandra/ckeditor-elfinder . Please check README.md for detail how it was built and how to run the repo. Hope it helps someone.

All 5 comments

@santoshray02 As far as I know there is no driver for network mount of Amazon S3, so you need to create your own. You need to create a driver class or create a network mount driver that uses FlySystem.

There are similar drivers for Box, Dropbox, GoogleDrive (with FlySystem), OneDrive. Will the source code help you?

Thanks @nao-pon
Let me try it once .

@santoshray02 Please notify here when you got it.

I'm also interested in getting this working. I have tried to add the following to the connector.minimal.php file, but no luck as yet. Not really sure what else needs to be done.

```
//S3 Attempt
array(
'id' => '1',
'driver' => 'S3',
'path' => 's3-eu-west-1.amazonaws.com',
'URL' => 'https://s3-eu-west-1.amazonaws.com/',
"s3" => array(
"key" => "xxxxxxxxx",
"secret" => "xxxxxxxx",
"region" => "eu-west-1"
),
"bucket" => "xxxxxxx",
"acl" => "private"
),

I made a working demo of S3 connector with full code example at this repo: https://github.com/bayucandra/ckeditor-elfinder . Please check README.md for detail how it was built and how to run the repo. Hope it helps someone.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

isreehari picture isreehari  ·  12Comments

flack picture flack  ·  13Comments

ioaoue picture ioaoue  ·  11Comments

ExtremeYu picture ExtremeYu  ·  11Comments

lab21gr picture lab21gr  ·  24Comments