【发布时间】:2017-07-18 13:06:36
【问题描述】:
我想使用 Laravel 中的 ftpd Adapter 访问 Synology NAS,它似乎需要这个特定的适配器 https://github.com/thephpleague/flysystem/issues/305,但我收到错误
Driver [Ftpd] is not supported.
文件在那里:
vendor/league/flysystem/src/Adapter/Ftpd.php
我必须注册任何我可以使用的东西吗?
我尝试像这样在 filesystems.php 中使用它
'diskstation' => [
'driver' => 'Ftpd',
'host' => 'ftp.domain.com',
'username' => '****',
'password' => '****',
// Optional FTP Settings...
'port' => 21,
'root' => '',
'passive' => true,
'ssl' => false,
'timeout' => 10,
],
【问题讨论】:
-
试试驱动小写,
ftpd -
谢谢,已经试过了,不行
标签: php laravel laravel-5 thephpleague