title: ftp_put(): TYPE is now 8-bit binary. Why it gives me this warning?
body: <p>I've the following code in PHP:</p>
  
  <pre><code>$connection = @ftp_connect (IP of the server, 21);
  ftp_login ($connection, User in FTP, Password in FTP);
  
  ftp_pasv ($connection, true);
  ftp_put ($connection, Remote File, Local file, FTP_BINARY);
  </code></pre>
  
  <p>I create the connection to FTP and I can login, but the <strong>ftp_put</strong> function always uploads an empty file with the warning:</p>
  
  <pre><code>Warning:  ftp_put(): TYPE is now 8-bit binary
  </code></pre>
  
  <p>However when I change FTP_BINARY to FTP_ASCII the file gets to upload but due to "special characters" (it's a jpg photo), the content it's not the same as "original file". The question is:</p>
  
  <p>Why not work with FTP_BINARY and show me this warning?</p>