Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    4

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

    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.

  2. #2
    Member
    Join Date
    Dec 2003
    Posts
    84

    Default

    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.

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    4

    Default

    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

  4. #4
    Member
    Join Date
    Dec 2003
    Posts
    84

    Default

    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.

  5. #5
    Registered User
    Join Date
    Jun 2006
    Posts
    4

    Default

    do u know where i can get that script

Similar Threads & Tags
Similar threads

  1. subdomain ftp log in cannot view folders
    By ladyassassin in forum New User Questions
    Replies: 1
    Last Post: 03-18-2009, 10:16 PM
  2. I can't view files in my folders!
    By bosmaen in forum New User Questions
    Replies: 2
    Last Post: 03-01-2008, 12:32 PM
  3. Create a ftp(only) account
    By payne in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-30-2006, 09:08 AM
  4. How can I create just an ftp account?
    By celliott in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-14-2006, 04:08 PM
  5. Authorizing Folders - protect from public view
    By desi6n in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-01-2004, 11:18 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube