smb vs afp filepath

M

Mark Schneider

On OSX 10.3.5 I have a cgi file-upload which dumps
files onto an WIN2K afp:// mounted volume. Due to
long filename issues I need to use an smb://
mounted volume.
BUT to ensure my CGI works I have a conditional
which verifies that the mounted volume is there
and is available.
It goes something like this....
IF "///Volumes/mountname/folderdump/" exists
proceed with displaying file-upload page.

I've found this does not work when mounted as
an smb:// volume. The ///Volumes....is not correct
path to check via.

what is correct file path syntax to verify an smb
mounted volume is accessible?
I've dug thru var tmp etc private and cannot find
where smb volumes are referenced when mounted.
I've tried just using a single slash /mountname
and //mountname and just mountname but no luck

any help?
Thanks
mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top