Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Share any folder or volume via Filesharing!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Share any folder or volume via Filesharing!
Authored by: awkohr on Oct 03, '03 09:04:31AM

At least in 10.2 and maybee earlier i don't know if the directory_path field contains a space in the path it doesn't share. It doesn't seem to matter if you use either /My Dir/subdir or /My\ Dir/subdir it will not show up in the share list. I changed the name of the directory to componsate for this although,I didn't try /My%20Dir/subdir as i didn't think of it until afterwards so that may work.

Spaces are acceptable in the both the afp_name and name entries as just plain spaces.



[ Reply to This | # ]
Share any folder or volume via Filesharing!
Authored by: solak on Nov 09, '04 11:21:51PM

Another workaround is to make a symolic link to the directory.

cd /Volumes/Macintosh HD
ln -s name\ with\ spaces _afp_name_wo_spaces

and then for the directory_path use
/Volumes/Macintosh HD/_afp_name_wo_spaces

I note that the volume name is not space-sensitive.
I also was pragmatic about it, and once it worked, I stopped experimenting, so I did not try the %20 substitution. Perhaps some other time.

---

:Solak.



[ Reply to This | # ]