Jump to content

Recommended Posts

Posted

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

Posted
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)

Posted
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

Posted
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.

Posted
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...