spitfire451 Posted September 21, 2009 Share Posted September 21, 2009 Here's the situation: I've built a java application which I want to have call a php script that will: 1. connect to my web space using a username, hostname, and password 2. upload a text file from the local directory to a specified directory in the web space 3. disconnect Can this be done? Quote Link to comment https://forums.phpfreaks.com/topic/175018-ssh-via-php/ Share on other sites More sharing options...
rhodesa Posted September 21, 2009 Share Posted September 21, 2009 http://us.php.net/manual/en/function.ssh2-connect.php http://us.php.net/manual/en/function.ssh2-auth-password.php http://us.php.net/manual/en/function.ssh2-scp-send.php Quote Link to comment https://forums.phpfreaks.com/topic/175018-ssh-via-php/#findComment-922406 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.