FTP and File Management
Click on question to view answer.
What is the htacccess file?- This file can be configure to provide access control to the directory. Care shoudl be taken with changing this file as you can deny yourself access!
How do I disable directory browsing?- To disable directory browsing you can use a htaccess file. Open up a text editor (eg Notepad) and put the following line in it:
Options -Indexes
Now select Save As... from the menu and select 'All files' in the Save as type bit before typing a filename. For the filename then type '.htaccess' (without quote marks and remember the dot at the start).
Next simply upload this to your public_html directory and the browsing of directories on your account will be disabled.
What is the File Manager?- The File Manager is avaialable to you via the cPanel. It allows you to view your directory structure and files within those directories. You can delete files and perform other file manipulations while connected to your account.
How do I change file permissions?-
The Tutorial Section provides background information to files permissions.
Your FTP software will usually allow you to alter file permissions. You can also use File Manager in cPanel. Open File Manager in cPanel. On the left hand side is the list of files and directories in your account. Click on the folder icon to navigate to another directory else select the file you wish to amend. On the top right a list of file command appear. click Permissions. This allows you to change the permissions for that file.
What are my ftp details?-
The best way to upload your website files is by using an FTP program.? You will need the login details contained in your welcome email to do this. Once you have these, they can be used in the form below to login to FTP:
Host address: ftp.yourdomain.com
Username: Your account username
Password: Your account password
What ftp software should I use?- There are many excellent FTP programs that you can use. A few of the best are SmartFTP, Coffecup Free FTP and CuteFTP. Try looking on Downloads.com for many more.
Where should I upload my files and webpages?- All files which you want to be viewable on your website should be uploaded inside your public_html directory. Inside here you will find your cgi-bin which is where CGI and Perl scripts should be uploaded.
Why have I got other directories in my account?-
The www directory is simply a shortcut to public_html and the others all control various settings and features of your account and generally should not need touching.
If you have Frontpage extensions installed on your account, there will be several more with names such as _vti_bin, _vti_cnf, etc.
If you do not use Frontpage extensions you can disable the feature from your control panel and these folders will be removed.
Can I setup different ftp accounts?-
If you have this feature on your hosting package you can manage your different FTP accounts from your control panel.
You may add FTP accounts allowing full access to your directories or restrict access to a certain subdomain (also setup in the cPanel for the account).
Please remember that any additional FTP accounts setup for subdomain access will need to login with a slightly different username format. The domain must also be used with these FTP logins using the following format:
username@domain.com
username = username setup in cPanel when adding the FTP account domain.com = your actual domain name
What is anonymous ftp?-
Anonymous FTP allows you and others you give permission to, to access your 'public_ftp' folder. You can permit for this type of access in one of two ways:
ftp://ftp.yourdomain.com -- This authorises others to view, delete, upload and download files directly into your 'public_ftp' folder.
ftp://ftp.yourdomain.com/incoming --This setting grants permission to upload, view, delete, and download files located only within the public_ftp/incoming folder of your hosting account.
To manage control of your Anonymous FTP settings, login to your cPanel Control Panel and click the 'FTP Manager' icon, followed by the 'Setup Anonymous FTP Access' link. Here, you will be able to allow or disallow anonymous access for your anonymous FTP users.
How do I login to the additional ftp account created in cpanel?-
Additional FTP accounts created in cPanel require a different login procedure. Not only must the username entered on additional FTP account creation be used but also the domain name in the format shown below:
FTP Host: ftp.domain.com
Username: username@domain.com
Password: Specified on account creation
