in reply to Download File From Remote machine to browser

How are you getting the file from the remote server to your web server anyway?

If you're getting it through a handle (file handle, socket), then you simply need to have a script on your web server that sends out the appropriate content type in a header to the browser, and then passes on the chunks from the file while you're reading them from the remote server.

  • Comment on Re: Download File From Remote machine to browser

Replies are listed 'Best First'.
Re^2: Download File From Remote machine to browser
by kernelzack (Novice) on Apr 22, 2011 at 17:06 UTC
    Thanks very much for all these suggestions. I am going to try go the route bart mentioned and if that fails I will embed a web server/ftp server onto the 2nd server. To answer Believer's question, I just wanted to increase the speed of file transfer. Thank you all for your time, it's appreciated.