note 85496 added to function.ssh2-exec
| From: | FbioNSarmentoatfabior2 at gmail dot com | Date: | Tue, 02 Sep 2008 16:47:52 +0000 |
| Subject: | note 85496 added to function.ssh2-exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-144085@lists.php.net to get a copy of this message | ||
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
----
Server IP: 92.48.74.199
Probable Submitter: 200.196.79.27
----
Manual Page -- http://www.php.net/manual/en/function.ssh2-exec.php
Edit -- https://master.php.net/note/edit/85496
Del: integrated -- https://master.php.net/note/delete/85496/integrated
Del: useless -- https://master.php.net/note/delete/85496/useless
Del: bad code -- https://master.php.net/note/delete/85496/bad+code
Del: spam -- https://master.php.net/note/delete/85496/spam
Del: non-english -- https://master.php.net/note/delete/85496/non-english
Del: in docs -- https://master.php.net/note/delete/85496/in+docs
Del: other reasons-- https://master.php.net/note/delete/85496
Reject -- https://master.php.net/note/reject/85496
Search -- https://master.php.net/manage/user-notes.php