Closed xian13 closed 8 years ago
ping @nao-pon
OK, I'll review.
@nao-pon Thanks @xian13 Does the above commit fix it for you?
@barryvdh @nao-pon I've tried it and it works, thank you so much for both of you
@xian13 , @barryvdh Sure! :smile:
Hello everyone, reading the tread I understand that you have managed to configure elfinder to read an sftp volume. I'm unfortunately freaking out, could you give me a hand? I did these steps to install elfinder:
curl -sSL https://studio-42.github.io/elFinder/tools/installer/setup_with_composer/setup_with_composer.sh | bash
composer require barryvdh/elfinder-flysystem-driver
and then I modified the connector.php file by entering the data for the sftp volume:
`'driver' => 'Flysystem', 'URL' => 'http://mydomain.com/content', 'alias' => 'Mydomain.com', 'filesystem' => new Filesystem (new Ftpd ( [ 'host' => 'sftp-host', 'username' => 'user', 'password' => 'pass', 'Port' => 22, // 'mode' => 'passive' // 'ssl' => true
] )),`
but I still can't connect. Some idea?
The _resultPath in the Driver always return false because of
when using SFTPAdapter the result is only boolean and getMetaData does not return path and only return :
so that this
will always return false.
Does the getMetaData of SFTP must return path? If yes, then the issue is in SFTPAdapter, any suggestion?
Thank you.