Re: *SOLVED* Open file on a Mounted Share on Mac OS X
| From: | Rahul S. Johari | Date: | Wed, 13 Sep 2006 20:21:21 +0000 |
| Subject: | Re: *SOLVED* Open file on a Mounted Share on Mac OS X | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-241760@lists.php.net to get a copy of this message | ||
Finally!
Solution: I needed to create what is called a "mount point" or "share point"
in my home directory. Basically I created a folder in my home directoy, and
then used this following command in the Terminal to mount the server share
on the mount point of my choosing:
mount -t smbfs //user@domain/ShareName SharePoint
Where "SharePoint" is a folder I created in my Home Directory on Mac.
When I directed PHP to read the file from this share point, it read it
without any problems. I was not using a share point and in theory, allowing
mac to mount the server share to it's own choice of location (which is
inside the hidden folder called "Volumes") instead of a location of my
choice.
Much thanks to all of you!
Rahul S. Johari
Supervisor, Internet & Administration
Informed Marketing Services Inc.
500 Federal Street, Suite 201
Troy NY 12180
Tel: (518) 687-6700 x154
Fax: (518) 687-6799
Email: rahul@informed-sources.com
http://www.informed-sources.com