From 9744670222ba409c05a857c61daf0a0a5fac8774 Mon Sep 17 00:00:00 2001
From: Phil Sturgeon 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.Usage Examples
$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