title: ftp_get works on localhost, but not on production server
body: <p>I am using ftp_get to fetch a file from another ftp server.</p>
  
  <p>My code works perfectly on my local WAMP server, but when I apply it to my actual web hosting, the connection fails.</p>
  
  <pre><code>$conn = ftp_connect('ftp.server.com') or die('Could not connect');
  ftp_login($conn,'myusername','mypassword');
  $local_file = 'new/two.txt';
  $remote_file = 'games/minecraft/craftbukkit/plugins/VisitCounter/config.yml';
  $get = ftp_get($conn,$local_file,$remote_file,FTP_ASCII);
  
  if ($get){
  
      echo 'Connection Successful';
  } else{
  
      echo 'Connection failure';
  }
  
  exec($get);
  ftp_close($conn);
  </code></pre>
  
  <p>I'm thinking that something required to establish a ftp connection must be disabled on my web server.</p>
  
  <p>Can any of you assist?</p>
  
  <p>Thanks,</p>
  
  <p>Jared</p>