title: Laravel 5 - Download remote file with dynamic FTP info
body: <p>I can't seem to find any information about how one would download a remote file w/ Laravel 5 via FTP. </p>
  
  <p>I tried using standard PHP</p>
  
  <pre><code>ftp_connect();
  </code></pre>
  
  <p>and I was met with this error...</p>
  
  <pre><code>Call to undefined function App\Http\Controllers\Tools\ftp_connect()
  </code></pre>
  
  <p>Is their a way to use this function, or is this something I should use a part of Laravel for?</p>
  
  <p>I looked into using some part of Laravel for this, and most of the examples assume that you know the FTP ahead of time to update a config file somewhere...but the FTP info I use is given dynamically, so I guess I can't use that? Unless I'm supposed to use Config::set somehow?</p>
  
  <p>I'm a little lost, any help is greatly appreciated!</p>