phpBB

Code Changes

File: includes/functions_transfer.php

  Unmodified   Added   Modified   Removed
Line 38Line 38
	/**
* Constructor - init some basic values
*/

	/**
* Constructor - init some basic values
*/

	function transfer()

	function __construct()

	{
global $phpbb_root_path;


	{
global $phpbb_root_path;


Line 112Line 112
		$dir = explode('/', $dir);
$dirs = '';


		$dir = explode('/', $dir);
$dirs = '';


		for ($i = 0, $total = sizeof($dir); $i < $total; $i++)

		for ($i = 0, $total = count($dir); $i < $total; $i++)

		{
$result = true;


		{
$result = true;


Line 264Line 264
	/**
* Standard parameters for FTP session
*/

	/**
* Standard parameters for FTP session
*/

	function ftp($host, $username, $password, $root_path, $port = 21, $timeout = 10)

	function __construct($host, $username, $password, $root_path, $port = 21, $timeout = 10)

	{
$this->host = $host;
$this->port = $port;

	{
$this->host = $host;
$this->port = $port;

Line 512Line 512
	/**
* Standard parameters for FTP session
*/

	/**
* Standard parameters for FTP session
*/

	function ftp_fsock($host, $username, $password, $root_path, $port = 21, $timeout = 10)

	function __construct($host, $username, $password, $root_path, $port = 21, $timeout = 10)

	{
$this->host = $host;
$this->port = $port;

	{
$this->host = $host;
$this->port = $port;

Line 529Line 529
		}

// Init some needed values

		}

// Init some needed values

		$this->transfer();

		parent::__construct();


return;
}


return;
}