title: Download files from ftp server in PHP
body: <p>I am using the following format in php code to download files from ftp server.</p>
  
  <pre><code>file_put_contents(
              $filePath.$fileName, file_get_contents(
                  ftp://username:password@server_name/folder_name/xyz#123.csv.zip
              )
  );    
  </code></pre>
  
  <p>I am getting an 550 error as the file name contains '#'. How to avoid the error. Also what is the best PHP class to do different operations on FTP ?</p>