Re: Reaching network share with libssh2 functions
| From: | Jacob Overgaard | Date: | Wed, 05 Nov 2008 09:10:19 +0000 |
| Subject: | Re: Reaching network share with libssh2 functions | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-282906@lists.php.net to get a copy of this message | ||
There is error logging on the web server, but this tells me nothing. There is no error when I try to access the drives, it just doesnt happen.
Jacob
Citat af Micah Gersten <micah@onshore.com>:
Have you turned on error logging? What code are you using? Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Jacob Overgaard wrote:-- Jacob Overgaard, Ph.D Staff crystallographer Department of Chemistry University of Aarhus Langelandsgade 140 DK-8000 Aarhus C Email: Jacobo@chem.au.dk Tel: +45 8942 3891 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.Thanks, Micah I can access the share when I log directly in to the windows machine with a bash shell. It seems isolated to the PHP library. Thanks, Jacob Citat af Micah Gersten <micah@onshore.com>:If it's a permissions issue, it's related to Windows. Is it a user share or a system share? Can you access the shares when you log directly into the windows box? Have you tried command line ssh to see if it's specifically related to the PHP library? Thank you, Micah Gersten Jacob Overgaard wrote:Hi all I have a php script which connects to a copssh server installed on a Windows 2000 SP4 machine. However, the trouble is that I can not see the contents of the shared network folders when connecting through ssh2_exec. If I use putty instead, there is no problem seeing these folders. I guess that it is something to do with lack of permission, but I am not sure how to solve this problem, so I hoped for some assistance from this forum as it seems to be related to the use of libssh2 functions. Best wishes Jacob