title: Non-anonymous sessions must use encryption
body: <p>I am trying to connect to the FTP using php commands. But when I try to login I get the below error</p>
  
  <pre><code>Warning: ftp_login(): Non-anonymous sessions must use encryption
  </code></pre>
  
  <p>Code That I have tried:</p>
  
  <pre><code>ftp_connect($ftp_server)
  ftp_get($ftp_conn, $local_file, $server_file, FTP_ASCII)
  </code></pre>
  
  <p>Though it is getting connected through FileZilla . Not sure what the error means. Thanks</p>