Jump to content

Archived

This topic is now archived and is closed to further replies.

naveen83

how to use scp through php

Recommended Posts

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??

Share this post


Link to post
Share on other sites
[!--quoteo(post=384747:date=Jun 16 2006, 03:41 PM:name=naveen83)--][div class=\'quotetop\']QUOTE(naveen83 @ Jun 16 2006, 03:41 PM) [snapback]384747[/snapback][/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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.