ftp_put() [<a href='function.ftp-put'>function.ftp-put</a>]: Ok to send data
<p>I wrote a FTP app that uploads files to a remote server with PHP FTP's functionality. However I constantly get the following error <code>ftp_put() [&lt;a href='function.ftp-put'&gt;function.ftp-put&lt;/a&gt;]: Ok to send data.</code> and have no idea what this means.</p>

<p>This is how the line looks where I'm getting the error <code>ftp_put($connection, $main_dir.'/class.phpmailer.php','class.phpmailer.php', FTP_ASCII)</code></p>

<p>I even CHMOD the class.phpmailer.php file to 777 <code>-rwxrwxrwx 1 apache apache 74526 Feb 11 12:16 class.phpmailer.php</code> and still nothing, I do not know why this is happening.</p>
