Posted by pradeep on 03/01/07 06:13
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_exec("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.
Navigation:
[Reply to this message]
|