added constants.php file and implemented constants for file system modes
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 4e3ca7c..af51c0e 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -64,6 +64,7 @@
     	<ul>

     		<li>Added 'application/vnd.ms-powerpoint' to list of mime types.</li>

     		<li>Added 'audio/mpg' to list of mime types.</li>

+			<li>Added new user-modifiable file constants.php containing file mode constants</li>

     	</ul>

     </li>

 	<li>Libraries

diff --git a/user_guide/installation/upgrade_162.html b/user_guide/installation/upgrade_162.html
index 7fd01ea..66c498b 100644
--- a/user_guide/installation/upgrade_162.html
+++ b/user_guide/installation/upgrade_162.html
@@ -42,7 +42,7 @@
 <td id="breadcrumb">

 <a href="http://codeigniter.com/">CodeIgniter Home</a> &nbsp;&#8250;&nbsp;

 <a href="../index.html">User Guide Home</a> &nbsp;&#8250;&nbsp;

-Upgrading from 1.6.0 to 1.6.1

+Upgrading from 1.6.1 to 1.6.2

 </td>

 <td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide&nbsp; <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" />&nbsp;<input type="submit" class="submit" name="sa" value="Go" /></form></td>

 </tr>

@@ -80,8 +80,10 @@
 <h2>Step 2: Encryption Key</h2>

 <p>If you are using sessions, open up system/application/config.php and verify you've set an encryption key.</p>

 

+<h2>Step 3: Constants File</h2>

+<p>Copy /system/application/config/constants.php to your installation, and modify if necessary.</p>

 

-<h2>Step 3: Update your user guide</h2>

+<h2>Step 4: Update your user guide</h2>

 <p>Please also replace your local copy of the user guide with the new version.</p>

 

 </div>

diff --git a/user_guide/libraries/ftp.html b/user_guide/libraries/ftp.html
index 9e4af8b..0e577e9 100644
--- a/user_guide/libraries/ftp.html
+++ b/user_guide/libraries/ftp.html
@@ -258,7 +258,7 @@
 

 <code>

 // Creates a folder named "bar"<br />

-$this->ftp->mkdir('/public_html/foo/bar/', 0777);

+$this->ftp->mkdir('/public_html/foo/bar/', DIR_WRITE_MODE);

 </code>

 

 

@@ -268,7 +268,7 @@
 

 <code>

 // Chmod "bar" to 777<br />

-$this->ftp->chmod('/public_html/foo/bar/', 0777);

+$this->ftp->chmod('/public_html/foo/bar/', DIR_WRITE_MODE);

 </code>