title: Sftp file download from web
body: <p>I have file in ftp (sftp) server. And once a user clicks on a button in the webpage user must be able to download that file. Backend server is php. What I'm planning to do is first download that file to the backend server from ftp server and store it localy and then let the user to download it from there by  a url. Is there any other way to bypass this and enable user to directly download the file from the ftp server by just clicking the button? </p>
  
  <p>ps: I'm using <a href="http://phpseclib.sourceforge.net" rel="nofollow noreferrer">phpseclib</a> to create the sftp communication. </p>