You are here: shell_exec « PHP Programming Language « IT news, forums, messages
shell_exec

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация