In most cases, you will want to load your files into the web accessible directory. On our servers, this is called the public_html directory.
However, if you are running special cgi programs that have data directories that you do not want accessible to the web, then place them outside of the public_html directory.
When you FTP into your site, you will see several files there. You do not want to delete any of these files, as they are needed for your site to work properly. You will see the following directories ; etc , mail, public_ftp, public_html and www. All of these folders are needed.
You will want to double click on the public_html directory and get inside of it before you transfer your files to the server. That way they are viewable from the internet.
Many of you have come from hosts that used the WWW directory as their web accessible directory. If you double click on the WWW directory that you see in your FTP, then you will end up inside your public_html directory. It is just a link going to your public_html directory, and has no real use.
Private data files
If you are using a program that stores private information that you do not want people to be able to view, then you would want to upload them into a file as directed by your program, into your root, or home directory. This is where you are at, when you first FTP in, and can see the mail, and public_html directories. Just make the file you need, and place the contents inside it.
Back to Basic's page