Hi,
For this project I've returned to "good old PHP" by just reading the
file in small bits with fopen() and writing it down to a file on the
local server, again with fopen(). This works quite well, but it's no
specific Zend Framework solution.
ArticSun
Shahar Evron wrote:
Hi,
Did you ever got this problem solved? How?
Right now, I'm quite sure the Zend_Http_Client would blow up with large
files that cannot be contained in RAM.
However we can come up with large file support in the future.
Shahar.
On Sat, 2008-02-23 at 01:19 -0800, ArticSun wrote:
Hi all!
At the moment I'm working on a application which needs to download some
files over http(s). So I got a given URL of the location of the file and I
need to download it to the server. What is the best way to do this? I read
something about Zend_Http, but I don't know if this is the way to go.
For example:
https://www.xyz.com/sdfdff/dsffs/vhd.gz
Some files can reach the size of 1GB, so it's no option to store the
downloaded data in memory to save it when it's finished downloading. It
should be written to a file on the server at once, while downloading.
Can anyone help me with this? Would really appreciate it!
Thanks!