note 85496 deleted from function.ssh2-exec by felipe
| From: | felipe@php.net | Date: | Tue, 02 Sep 2008 22:26:45 +0000 |
| Subject: | note 85496 deleted from function.ssh2-exec by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-144095@lists.php.net to get a copy of this message | ||
Note Submitter: Fbio N Sarmento at fabior2 at gmail dot com
----
Hi there!
Any ideias to how catch the error of the ssh2_exec() ?
I have this scenario.
1 . c:/teste_fabio.txt
2 . The script move the c:/teste_fabio.txt to e:/temp
3 . i tryied to execute the script again and it doesn't show a error output like 'No such
file or directory' either the succesfull comand it doens't show anything
I'm trying to get the error such "No such file or directory" or "succcesfully
moved" or something like that , i think with this feedback we can know if the command was
executed with successfull