FTP Users


#1

Well, the problem is that when I create a user for my ftp it automatically makes the user only have access to their home dir. This isn’t what I want. I wanted the user to have access to a http accessable directory on my site. Is there anyway I can change this? Thanks for the support ahead of time.


#2

Build your own FTP program??

I need this to and my simple solution will be building a ftp program, which I can control everything from!


Use “DCOUNTME” promo code when registering and receive up to $85 off! (referer: saygoodbye)


#3

Nevermind, it said in the knowledge base that you can only have one FTP account actually access the HTTP accessable area.


#4

This is how I achieved this.

  1. Is to create an ftp user which you have already done, then map a sub-directory from an existing domain using the “Re-map Sub-dir” tool in the panel.

Example.

I want the user called “ftpuser” to have their home directory accessible via http at http://somedomain.com/ftpuser.

Select the domain name you wish to use, and enter ftpuser for the sub directory, then continue and select the FTP user you have setup from the drop down list, and the directory you wish to map to.

Once setup you can access the mapped directory using http://www.somedomain/ftpuser, handy for multiple users to upload files to and then link to using http without the need for a static IP which is required for anonymous FTP.


Web Hosting Reviews | Shonky’s Blog


#5

[quote]I wanted the user to have access to a http accessable directory on my site

[/quote]

Directory remapping is your answer. See Panel > Domains > Remap sub-directory. I was going to tell you that earlier, but firefox died on me, and I forgot about your post by the time I got back to the forum.

[quote]I need this to and my simple solution will be building a ftp program, which I can control everything from!

[/quote]

Actually this won’t work. Regardless of how you access the user space, Dreamhost sets up the new new user directory at /home/newuser. Your domain is at /home/firstuser/domain.com/. There’s also premission issues, newuser can’t write to firtuser’s area - there’s read access, but no write. There’s ways around this, directory remapping being one of them, but building your own FTP client won’t do it.

On a side note, is building your own ftp program really a simple solution?

-Matttail