in reply to Download file over HTTP
The mirror method downloads the file without storing the response in memory. Using content on the response puts the whole file in memory which can be a problem with big files.$ua->credentials($host, $realm, $user, $pass);
$ua->mirror($url, $file);
|
|---|