SSH2 package : possible bug?
| From: | neilneil2000 | Date: | Sat, 21 Jun 2008 20:56:19 +0000 |
| Subject: | SSH2 package : possible bug? | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-5559@lists.php.net to get a copy of this message | ||
Hi, I have installed the ssh2 package without any problem and am able to connect to my server and authenticate using asymmetric keys. I can also run commands using ssh2_exec() and have used the ssh2_scp_recv() command to retrieve files.
However when running the ssh2_exec() command the command "cd" seems to be ignored.
Once logged in I can run "ls" and show the folders available to me but "cd <FOLDER NAME>" doesn't seem to work. I don't get any errors back in the stream, the reply is just blank.I have tried adding a trailing slash and still no luck. I know I have access to the folders because the following command works:
"cd <FOLDER NAME>/<FILE NAME>"
Has anyone else had similar issues and should I report this as a bug or is there a reason?