How can i create an Ftp account that only allows to view filenames and folders!

hypnoticpimp

Registered
Jun 7, 2006
4
0
151
Is there anyway possible where i can setup a ftp account that can only allow users to view filenames and folders of a directory i specify, but they cant download or upload any files? if so please tell me how, reason is below


i have a script, called amember from amember.com where
if someone, enter's this url,
http://www.worldstarhiphop.com/MembersOnly/ they will have to login,
or register. So thats why it has to be that they login through a ftp
manager, just to be able to vieww the filenames and sub folders of
that directory MembersOnly. I tried it on Cpanel, but cpanel allows
allows to create ftp accounts, that will let people download and
upload files, i dont want them to upload or download.
 

bmcgrail

Well-Known Member
Dec 8, 2003
83
0
156
Is there anyway possible where i can setup a ftp account that can only allow users to view filenames and folders of a directory i specify, but they cant download or upload any files? if so please tell me how, reason is below

create ftp account

chown root directory
chown root files

chmod 755 directory
chmod 600 files

They can list files in dir but can't download, upload, or read files.

However your reasoning for trying to do this is unclear. The aweber script should manage the access to content within a website. It really has nothing to do with FTP.
 

hypnoticpimp

Registered
Jun 7, 2006
4
0
151
what do u mean by
chown root directory
chown root files?

Im on a shared hosting, does that matter

The thing is i have alot of files and directories. in that MembersOnly Folder

The amember script, allows for paid members, to download files on MembersOnly folder via internet browser. So all they do is login when they go to www.Worldstarhiphop.com/membersonly

They dont have a feature where i can create an account for users, to only view filenames and folders.

Thats why the only way is through FTP
Now once i create an ftp account trhough cpanel, couldnt they change the chmod on files and folders as well? so whats the use?

do u have aim or msn. my aim is hypnotic2pimp
i will pay you , to get this fixed for me
 

bmcgrail

Well-Known Member
Dec 8, 2003
83
0
156
Ahh, now I see what you are trying to accomplish. Sorry, I don't have an easy solution for you.

With a user account you can't change ownership to root. And even if you could, my previous post would make it so that paid members couldn't download either.

FTP is not the right solution. Maybe you can have someone customize your member script.

Otherwise you could download a script that will list the directory contents (can only be run as a member) run it yourself and save the output to a public web page that you update on a regular basis.