summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/ftp.html
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-10-27 03:03:03 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-10-27 03:03:03 +0200
commit9744670222ba409c05a857c61daf0a0a5fac8774 (patch)
treeb6e17bf573c53a9619fc73196a5f08775b3b26dc /user_guide/libraries/ftp.html
parentc53eb99a7cc5a49d2de7e96445146d88cf873f90 (diff)
Removed a bunch of PHP 5 specific messages from FTP documentation.
Diffstat (limited to 'user_guide/libraries/ftp.html')
-rw-r--r--user_guide/libraries/ftp.html7
1 files changed, 3 insertions, 4 deletions
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
<h2>Usage Examples</h2>
<p>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.</p>
+file permissions are set to 755.</p>
<code>
$this->load->library('ftp');<br />
@@ -185,8 +185,7 @@ Example:</p>
<p><strong>Mode options are:</strong>&nbsp; <kbd>ascii</kbd>, <kbd>binary</kbd>, and <kbd>auto</kbd> (the default). If
<kbd>auto</kbd> is used it will base the mode on the file extension of the source file.</p>
-<p>Permissions are available if you are running PHP 5 and can be passed as an <kbd>octal</kbd> value in the fourth parameter.</p>
-
+<p>Permissions can be passed as an <kbd>octal</kbd> value in the fourth parameter.</p>
<h2>$this->ftp->download()</h2>
@@ -267,7 +266,7 @@ $this->ftp->mirror('/path/to/myfolder/', '/public_html/myfolder/');
<h2>$this->ftp->mkdir()</h2>
<p>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 <kbd>octal</kbd> value in the second parameter (if you are running PHP 5).</p>
+Permissions can be set by passed an <kbd>octal</kbd> value in the second parameter.</p>
<code>
// Creates a folder named "bar"<br />