Fixed a bug (#3330) in the FTP class where a comparison wasn't getting made.
Fixed typo in the FTP Class (ftp_unable_to_remame).
diff --git a/system/language/english/ftp_lang.php b/system/language/english/ftp_lang.php
index 0b7087a..da744fe 100644
--- a/system/language/english/ftp_lang.php
+++ b/system/language/english/ftp_lang.php
@@ -8,7 +8,7 @@
 $lang['ftp_unable_to_chmod']		= "Unable to set file permissions.  Please check your path.  Note: This feature is only available in PHP 5 or higher.";

 $lang['ftp_unable_to_upload']		= "Unable to upload the specified file.  Please check your path.";

 $lang['ftp_no_source_file']			= "Unable to locate the source file.  Please check your path.";

-$lang['ftp_unable_to_remame']		= "Unable to rename the file.";

+$lang['ftp_unable_to_rename']		= "Unable to rename the file.";

 $lang['ftp_unable_to_delete']		= "Unable to delete the file.";

 $lang['ftp_unable_to_move']			= "Unable to move the file.  Please make sure the destination directory exists.";

 

diff --git a/system/libraries/Ftp.php b/system/libraries/Ftp.php
index 9fdee01..ed934b5 100644
--- a/system/libraries/Ftp.php
+++ b/system/libraries/Ftp.php
@@ -302,7 +302,7 @@
 		{

 			if ($this->debug == TRUE)

 			{

-				$msg = ($move = FALSE) ? 'ftp_unable_to_remame' : 'ftp_unable_to_move';

+				$msg = ($move == FALSE) ? 'ftp_unable_to_rename' : 'ftp_unable_to_move';

 				

 				$this->_error($msg);

 			}