Hello,
I want to copy file from remote machine to local machine using PHP.
On both machines Linux operating system present.
The code is
$result=shell_e xec("scp admin@192.168.1 .236:/mnt/disc/hda/part1/demo/
conn /opt/lampp/htdocs/upload/");
This function return nothing & file is not copied.
If I use above parameter on konsole , it copy successfully.
Please, guide me.
I want to copy file from remote machine to local machine using PHP.
On both machines Linux operating system present.
The code is
$result=shell_e xec("scp admin@192.168.1 .236:/mnt/disc/hda/part1/demo/
conn /opt/lampp/htdocs/upload/");
This function return nothing & file is not copied.
If I use above parameter on konsole , it copy successfully.
Please, guide me.
Comment