I need my server to download a file and write it to the server's filesystem. The problem is that all the PHP examples I've seen download the file into server RAM and then write to a file.
Since I'm dealing with large files, I'd like PHP to read the file from the other server and immediately write what it reads to a local file.