idanan Posted January 10, 2006 Posted January 10, 2006 Hi, Is is possible to have FTP accounts not go under public_html/whatever? Instead I would like FTP accounts to go to public_ftp/something, but it seems the public_html part is hard-coded into cpanel. Mainly I would like to keep the directoy hierarchy separate to simplicity. I noticed there is already a public_ftp directory, when is it used? Thanks in advance, - Itai www.neocamera.com Quote
TCH-Bruce Posted January 10, 2006 Posted January 10, 2006 No you can not. public_ftp was used for annonymous FTP which has been disabled on the servers. Quote
TCH-Mark Posted January 10, 2006 Posted January 10, 2006 Hi, Is is possible to have FTP accounts not go under public_html/whatever? Instead I would like FTP accounts to go to public_ftp/something, but it seems the public_html part is hard-coded into cpanel. Mainly I would like to keep the directoy hierarchy separate to simplicity. I noticed there is already a public_ftp directory, when is it used? Thanks in advance, - Itai www.neocamera.com Hello, Generally the public_ftp folder is used for anonymous FTP. Generally if your wanting a user to upload some files for say ******/something then they would have to upload them to public_html/something because files have to be in the public_html folder in order to be viewable on the internet. The public_ftp is for FTP only (anonymous FTP) Quote
idanan Posted January 10, 2006 Author Posted January 10, 2006 Hello, Generally the public_ftp folder is used for anonymous FTP. Generally if your wanting a user to upload some files for say ******/something then they would have to upload them to public_html/something because files have to be in the public_html folder in order to be viewable on the internet. The public_ftp is for FTP only (anonymous FTP) Thanks for the replies. Oh, I see. This information implies that there is no way to non-anonymously FTP stuff that is not accessible via an HTTP URL. To secure a file under public_html, I guess the work-around will be to create a password protected directory. Will that cause problem with the FTP server? For example, if I create /public_html/ftp and password protect it, then can I create an FTP account that starts in that directory? If so, will it still be accessible only using a user-name and password? - Itai Quote
TCH-Mark Posted January 10, 2006 Posted January 10, 2006 Thanks for the replies. Oh, I see. This information implies that there is no way to non-anonymously FTP stuff that is not accessible via an HTTP URL. To secure a file under public_html, I guess the work-around will be to create a password protected directory. Will that cause problem with the FTP server? For example, if I create /public_html/ftp and password protect it, then can I create an FTP account that starts in that directory? If so, will it still be accessible only using a user-name and password? - Itai Hello, Creating a password protected directory will work and will not interfere with FTP, if you create an FTP account that starts with the /ftp folder then only the usernames (ftp accounts) you grant access to that folder will actually have access to that folder. Quote
idanan Posted January 10, 2006 Author Posted January 10, 2006 Hello, Creating a password protected directory will work and will not interfere with FTP, if you create an FTP account that starts with the /ftp folder then only the usernames (ftp accounts) you grant access to that folder will actually have access to that folder. Perfect, that is exactly what I wanted. Thanks again, - Itai Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.