From 9744670222ba409c05a857c61daf0a0a5fac8774 Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Thu, 27 Oct 2011 02:03:03 +0100 Subject: Removed a bunch of PHP 5 specific messages from FTP documentation. --- user_guide/libraries/ftp.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'user_guide/libraries') diff --git a/user_guide/libraries/ftp.html b/user_guide/libraries/ftp.html index 3dbb0530e..175efe19b 100644 --- a/user_guide/libraries/ftp.html +++ b/user_guide/libraries/ftp.html @@ -74,7 +74,7 @@ and deleted. The FTP class also includes a "mirroring" function that permits an

Usage Examples

In this example a connection is opened to the FTP server, and a local file is read and uploaded in ASCII mode. The -file permissions are set to 755. Note: Setting permissions requires PHP 5.

+file permissions are set to 755.

$this->load->library('ftp');
@@ -185,8 +185,7 @@ Example:

Mode options are:  ascii, binary, and auto (the default). If auto is used it will base the mode on the file extension of the source file.

-

Permissions are available if you are running PHP 5 and can be passed as an octal value in the fourth parameter.

- +

Permissions can be passed as an octal value in the fourth parameter.

$this->ftp->download()

@@ -267,7 +266,7 @@ $this->ftp->mirror('/path/to/myfolder/', '/public_html/myfolder/');

$this->ftp->mkdir()

Lets you create a directory on your server. Supply the path ending in the folder name you wish to create, with a trailing slash. -Permissions can be set by passed an octal value in the second parameter (if you are running PHP 5).

+Permissions can be set by passed an octal value in the second parameter.

// Creates a folder named "bar"
-- cgit v1.2.3-24-g4f1b