Javascript elFinder:多个FTP(根)
我可以从elFinder成功地打开一个FTP连接(无论是否与LocalFileSystem、MySQL等不同的驱动程序结合使用) 但是,我无法在同一个elFinder窗口中打开2个或更多FTP连接 我尝试了以下配置,但到目前为止没有成功:Javascript elFinder:多个FTP(根),javascript,php,configuration,ftp,file-transfer,Javascript,Php,Configuration,Ftp,File Transfer,我可以从elFinder成功地打开一个FTP连接(无论是否与LocalFileSystem、MySQL等不同的驱动程序结合使用) 但是,我无法在同一个elFinder窗口中打开2个或更多FTP连接 我尝试了以下配置,但到目前为止没有成功: 'roots' => array( array( 'driver' => 'FTP', 'host' => 'host1', 'user'
'roots' => array(
array(
'driver' => 'FTP',
'host' => 'host1',
'user' => 'usr1',
'pass' => 'pwd1',
'port' => 21,
'mode' => 'passive',
'path' => '/',
'timeout' => 20,
'alias' => 'My FTP 1',
'owner' => true,
'tmbPath' => '/tmp',
'tmpPath' => '/tmp',
'dirMode' => 0755,
'fileMode' => 0644
),array(
'driver' => 'FTP',
'host' => 'host2',
'user' => 'usr2',
'pass' => 'pwd2',
'port' => 21,
'mode' => 'passive',
'path' => '/',
'timeout' => 20,
'alias' => 'My FTP 2',
'owner' => true,
'tmbPath' => '/tmp',
'tmpPath' => '/tmp',
'dirMode' => 0755,
'fileMode' => 0644
)
)
另外,我可以成功地打开一对FTP/LocalFileSystem
根目录,但如何打开一对FTP/FTP
根目录?我错过什么了吗