Your IP : 216.73.216.165


Current Path : /home/digilove/www/administrator/components/com_akeeba/BackupEngine/Postproc/
Upload File :
Current File : /home/digilove/www/administrator/components/com_akeeba/BackupEngine/Postproc/Ftpcurl.php

<?php
/**
 * Akeeba Engine
 *
 * @package   akeebaengine
 * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd
 * @license   GNU General Public License version 3, or later
 */

namespace Akeeba\Engine\Postproc;

defined('AKEEBAENGINE') || die();

use Akeeba\Engine\Factory;
use Akeeba\Engine\Util\Transfer\FtpCurl as TransferFtpCurl;

class Ftpcurl extends Ftp
{
	public function __construct()
	{
		parent::__construct();

		$this->engineKey = 'engine.postproc.ftpcurl.';
	}

	protected function makeConnector()
	{
		Factory::getLog()->debug(__CLASS__ . ':: Connecting to remote FTP');

		$options = $this->getConfig();

		return new TransferFtpCurl($options);
	}
}