From dd6719738936be31cdaa1758ca86d5eb14dcab3d Mon Sep 17 00:00:00 2001 From: Barry Mieny Date: Mon, 4 Oct 2010 16:33:58 +0200 Subject: Cleanup of stray spaces and tabs --- user_guide/libraries/ftp.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'user_guide/libraries/ftp.html') diff --git a/user_guide/libraries/ftp.html b/user_guide/libraries/ftp.html index a46b155b9..493177655 100644 --- a/user_guide/libraries/ftp.html +++ b/user_guide/libraries/ftp.html @@ -82,7 +82,7 @@ $this->load->library('ftp');
$config['hostname'] = 'ftp.example.com';
$config['username'] = 'your-username';
$config['password'] = 'your-password';
-$config['debug'] = TRUE;
+$config['debug'] = TRUE;

$this->ftp->connect($config);

@@ -101,7 +101,7 @@ $this->load->library('ftp');
$config['hostname'] = 'ftp.example.com';
$config['username'] = 'your-username';
$config['password'] = 'your-password';
-$config['debug'] = TRUE;
+$config['debug'] = TRUE;

$this->ftp->connect($config);

@@ -121,7 +121,7 @@ $this->load->library('ftp');
$config['hostname'] = 'ftp.example.com';
$config['username'] = 'your-username';
$config['password'] = 'your-password';
-$config['debug'] = TRUE;
+$config['debug'] = TRUE;

$this->ftp->connect($config);

@@ -231,7 +231,7 @@ $this->ftp->delete_file('/public_html/joe/blog.html');

$this->ftp->delete_dir()

Lets you delete a directory and everything it contains. Supply the source path to the directory with a trailing slash.

-

Important  Be VERY careful with this function. It will recursively delete +

Important  Be VERY careful with this function. It will recursively delete everything within the supplied path, including sub-folders and all files. Make absolutely sure your path is correct. Try using the list_files() function first to verify that your path is correct.

@@ -242,7 +242,7 @@ $this->ftp->delete_dir('/public_html/path/to/folder/');

$this->ftp->list_files()

-

Permits you to retrieve a list of files on your server returned as an array. You must supply +

Permits you to retrieve a list of files on your server returned as an array. You must supply the path to the desired directory.

@@ -254,7 +254,7 @@ print_r($list);

$this->ftp->mirror()

-

Recursively reads a local folder and everything it contains (including sub-folders) and creates a +

Recursively reads a local folder and everything it contains (including sub-folders) and creates a mirror via FTP based on it. Whatever the directory structure of the original file path will be recreated on the server. You must supply a source path and a destination path:

-- cgit v1.2.3-24-g4f1b