Samba wrapper
| From: | Joe Wollard | Date: | Mon, 21 Feb 2005 07:13:36 +0000 |
| Subject: | Samba wrapper | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-209108@lists.php.net to get a copy of this message | ||
Greetings,
I am toying around with the idea of building a very basic script to do a _VERY_ basic index of the network shares at work. Almost all of them are Samba shares but I didn't see any easy way to access them without mounting them all to my servers local file system at some point or another _OR_ by using the packages that come in the samba suite (e.g. smbfind, smbtree, etc). I was wondering if anyone knew of a samba stream wrapper out there or if anyone has been working on one. I'm not even sure this is a practical solution since I don't know a tremendous amount of information about samba its self, but I would like to be able to access them as such:
$res = fopen("smb://username:password@workgroup/myserver/myshare/");
or at least something similar to that. For a more detailed idea of what I'm talking about please see www.php.net/stream_wrapper_register and thanks for any help or direction you can send me!
-Joe Wollard