tirengarfio
New member
Hi,
I'm trying to copy asyncronously 10 70 MB video files.
But I cannot see any difference if I remove `2>&1 > out.log`'s from the scp commads.
PHP 8.1, Apache2, Ubuntu 22
I'm trying to copy asyncronously 10 70 MB video files.
PHP:
exec("scp -o StrictHostKeyChecking=accept-new -i /var/keys/devDevices_rsa MarTianez1.mp4 awong@10.1.1.16:/tmp/test1 2>&1 > out.log", $output, $exitCode);
...
exec("scp -o StrictHostKeyChecking=accept-new -i /var/keys/devDevices_rsa MarTianez10.mp4 awong@10.1.1.16:/tmp/test10 2>&1 > out.log", $output, $exitCode);
But I cannot see any difference if I remove `2>&1 > out.log`'s from the scp commads.
PHP 8.1, Apache2, Ubuntu 22
Last edited: