Reading files from Win 2003 Server
| From: | Alexis | Date: | Thu, 04 Oct 2007 20:46:04 +0000 |
| Subject: | Reading files from Win 2003 Server | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-262773@lists.php.net to get a copy of this message | ||
Hi,
I have a script located on an Ubuntu box and I am trying to read
files located on a Win 2003 Server.
I have 'mounted', if that's the right term to use, a connection from
Ubuntu to Server 2003 and can read the files fine via the desktop, etc.
If the Win Server name is say 'WinServer' and the shared directory I
want to read from on it is called say 'SharedDirectory' and the user
name is 'User', I notice the reference to that folder on the Ubuntu
desktop is as follows:
smb://WinServer%3BUser@WinServer/SharedDirectory
But I am at a loss as to how I should refer to the path for this
connection within my PHP script. Any help would be most appreciated.
If it's any additional help, I would be using the connection to read
files only, and not add/edit/delete them.
Thanks
Alexis