Jump to content


Photo

how to use scp through php


  • Please log in to reply
2 replies to this topic

#1 naveen83

naveen83
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 16 June 2006 - 08:41 PM

i'm trying to use scp to upload file using php...fr that i'm using pscp
the given command runs fine from command line...but i have tried using exec, shell exec and passthru but
evrytime php hangs on that command....though i can see pscp running in the background...

ne ideas??

#2 sap_14feb

sap_14feb
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 20 June 2006 - 02:51 AM

[!--quoteo(post=384747:date=Jun 16 2006, 03:41 PM:name=naveen83)--][div class=\'quotetop\']QUOTE(naveen83 @ Jun 16 2006, 03:41 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
i'm trying to use scp to upload file using php...fr that i'm using pscp
the given command runs fine from command line...but i have tried using exec, shell exec and passthru but
evrytime php hangs on that command....though i can see pscp running in the background...

ne ideas??
[/quote]

same problem here. please anyone help us out.

#3 tahongawaka

tahongawaka
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 02 January 2007 - 06:31 PM

http://us2.php.net/m...en/ref.ssh2.php




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users