I need to copy some big file (6 GB) via PHP. How can I do that? The Copy() function can\'t do it.
Copy()
I am using PHP 5.3 on Windows 32/64.
You could use exec() if it's a linux machine.
exec()
$srcFile = escapeshellarg($pathToSrcFile); $trgFile = escapeshellarg($pathToTrgFile); exec("cp $srcFile $trgFile");