PATH:
home
/
sparklp6
/
public_html
/
sparklerfilters-org
/
administrator
/
components
/
com_akeeba
/
Controller
<?php /** * @package akeebabackup * @copyright Copyright (c)2006-2021 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ namespace Akeeba\Backup\Admin\Controller; // Protect from unauthorized access defined('_JEXEC') || die(); use Akeeba\Backup\Admin\Controller\Mixin\CustomACL; use FOF30\Controller\Controller; /** * Controller for the SFTP folder browser */ class SFTPBrowser extends Controller { use CustomACL; protected function onBeforeMain() { /** @var \Akeeba\Backup\Admin\Model\SFTPBrowser $model */ $model = $this->getModel(); // Grab the data and push them to the model $model->host = $this->input->get('host', '', 'string'); $model->port = $this->input->get('port', 21, 'int'); $model->username = $this->input->get('username', '', 'none', 2); $model->password = $this->input->get('password', '', 'none', 2); $model->privkey = $this->input->get('privkey', '', 'none', 2); $model->pubkey = $this->input->get('pubkey', '', 'none', 2); $model->directory = $this->input->get('directory', '', 'none', 2); if (empty($model->port)) { $model->port = 22; } $ret = $model->doBrowse(); @ob_end_clean(); echo '###' . json_encode($ret) . '###'; flush(); $this->container->platform->closeApplication(); } }
[-] DatabaseFilters.php
[edit]
[-] Manage.php
[edit]
[-] SFTPBrowser.php
[edit]
[-] .htaccess
[edit]
[-] FileFilters.php
[edit]
[-] Browser.php
[edit]
[-] web.config
[edit]
[-] Log.php
[edit]
[-] Profile.php
[edit]
[-] ControlPanel.php
[edit]
[-] Profiles.php
[edit]
[+]
Mixin
[-] FTPBrowser.php
[edit]
[+]
..
[-] Configuration.php
[edit]
[-] Backup.php
[edit]
[-] ConfigurationWizard.php
[edit]