ftp accounts for subdirectories

dennis00

Member
Nov 9, 2002
18
0
151
Is it possible to make ftp accounts for subdirectories?
so &public_html/images/gallery& would have an ftp account.
 

haze

Well-Known Member
Dec 21, 2001
1,540
3
318
its possible for public_html/gallery but not public_html/images/gallery. To do this, create an ftp user in cpanel named gallery ( or whatever the directory is ) and the user will only be able to log into that directory.
 

dennis00

Member
Nov 9, 2002
18
0
151
I know it's possible for /gallery, but are you sure it's not possible for images/gallery?
 

itf

Well-Known Member
May 9, 2002
620
0
316
[quote:c8f25e768d][i:c8f25e768d]Originally posted by dennis00[/i:c8f25e768d]

I know it's possible for /gallery, but are you sure it's not possible for images/gallery?[/quote:c8f25e768d]

it is possible this way:

1) create an additional account like 'gallery'

2) in a SSH session :
rm -rf /home/user-name/public_html/gallery
ln -s /home/user-name/public_html/images/gallery /home/user-name/public_html/gallery

then gallery user can log in and update /public_html/images/gallery

looks like you create additional FTP account for /home/user/public_html/images/gallery