Print

SiteGround Tutorials


FTP Clients

What is an FTP Client?

An FTP Client is software designed to transfer files back-and-forth between two computers over the Internet. It needs to be installed on your computer and can only be used with a live connection to the Internet.

FTP Clients' interface is usually divided in two - the pane on the left shows the files and folders on your computer (your Desktop, My Documents, etc,) and the pane on the right displays the files on the remote computer (if this is your website hosting account, you will see 'public_html' and 'www' folders, where the files of your site are stored).

File transfers are made by simply dragging and dropping files from one pane to the other. Additional features of the FTP Client include: store of FTP sites; multiple file transfer at a time; auto resuming of the transfer; a queuing utility and more.



FTP Hosting
(c) Copyright 2006 SiteGround FTP Hosting Services. All rights reserved

FTP Clients

CuteFTP

Cute FTP is an FTP client used for transferring files over the Internet. It has easy and intuitive interface and will help you a lot when publishing your web site or downloading photos or software. CuteFTP is available from http://cuteftp.com.

How to use Cute FTP

CuteFTP has a short wizard that walks you through the setup of an FTP connection.

Step 1: The first screen prompts you for a label for your new connection. You can just use your domain name if you like.

Step 2: The next screen prompts you for the FTP server you want to connect to. Enter your domain name in the given space and click 'Next >'.

Step 3: The next screen prompts you for your FTP username and password. Enter them in the boxes provided and click 'Next >'.

Step 4: The next screen prompts you for a 'default local folder'. You should probably choose the folder where you keep all of your website files or if you don't have a website developed yet you can either make a new directory or just choose a random directory like c:\temp. Click 'Next >'.

Step 5: The next screenshot (below) shows the view when logged-in to your web hosting account. The list of files/folders on the right hand and left hand side is the view of your web hosting account.

You'll notice a directory named 'public_html' in your web hosting account. This directory is where all of your website files should be placed in order for them to be seen when you type in http://yourdomain.com.

Another important and often overlooked note is that you must have a file named index.html or index.htm which acts as your homepage. When a person types in http://yourdomain.com our webserver will look for the file named index.html or index.htm (there are a few others as well) first and will load that page. If you are having problems connecting here are some things to check:

1.If you just obtained your web hosting account then your domain may not be switched over to our service yet.
2.It may be that you are behind a firewall and/or router and need to use passive FTP. Just skip down to step 6 to see how to enable passive FTP.

Step 6: If you are behind a firewall and/or router you often need to use passive FTP to get a stable connection. Just open up the connection settings dialog by click on the Edit Menu and then 'Settings'. Once the settings window is open click on the 'Firewall' label on the left side of the dialog. You can then check/uncheck 'PASV mode' if necessary.

Step 7: Often when installing scripts and other web tools you will need to "chmod" or change permissions on a file or directory. It's easy to do from within the FTP session. Just right-click on the file/directory you'd like to change permissions on select "CHMOD" and you'll receive the dialog below. You can then either type in the permissions you'd like to set using numbers (755 for example) or use the various check boxes to set the permissions.



FTP Hosting
(c) Copyright 2006 SiteGround FTP Hosting Services. All rights reserved

FTP Clients

FileZilla

FileZilla is a powerful, yet free software with drag-and-drop capability for transferring files over the Net. FileZilla is the most popular FTP client and is used by webmasters from all over the world. Here you can download FileZilla Software.

How to use FileZilla?

Once you have the FileZilla client already downloaded and activated on your local hard drive, please provide your domain name in the address field (you could also use the server's IP address, found in the Customer area). The username and the password you need to type in are the same as the ones you use to log into your cPanel. The FTP Port is 21.

Now, please, hit the Enter key on your keyboard and wait for the file listing to appear. Find the www directory and double click on the name.

Then, select the files to be uploaded, and drag-and-drop them in the field where the www files are listed. Select upload and wait for the transfer to complete.

NB: If you are behind a firewall and/or router you will need to use Passive mode for FTP to get a stable connection. You can see this setting as is shown bellow:

Open FileZilla and go menu Edit -> Settings. In the Connections section, please click Firewall settings and check the Passive mode option.



FTP Hosting
(c) Copyright 2006 SiteGround FTP Hosting Services. All rights reserved

FTP Accounts

How to create FTP accounts?

To use an FTP client you need to have an FTP account to the web account where you plan to upload your files. In case this is your hosting account, the main account for using FTP is your control panel username and password. You can also create additional FTP accounts for other users.

Adding FTP accounts

You or your fellow site developers may need to transfer files from a computer to the computer that contains your web site. If you need to transfer many files, using an FTP client is the quickest way to accomplish this. In the FTP Manager, you can create FTP accounts, which allow users to access the files of your web site with an FTP client.

Step 1: To access the FTP Manager, click on the icon above the words FTP Manager on the main screen of your cPanel interface.

Step 2: Click on FTP Accounts.

Step 3: To add an FTP account, click on Add FTP Account.

Step 4: Enter the username for the new FTP account in the blank field next to Login:

Step 5: Enter the password for the new FTP account in the blank field next to Password:

Step 6: Enter the directory which the account will have access to in the blank field next to Directory:

NOTE: Enter / in this field will give the user access to /public_html/ and all subdirectories of /public_html/ for your account.

Step 7: Click on Create to create the new FTP account.

Troubleshooting Tips: Make sure to use usernames that are compatible with the FTP client that the user will be using to login to their FTP account.

Removing FTP accounts

You may need to remove an FTP account so that a user can no longer access your web site, or so that you can free up room to create other FTP accounts. This can be accomplished through the FTP Manager.

Step 1: To access the FTP Manager, click on the icon above the words FTP Manager on the main screen of your cPanel interface.

Step 2: Click on FTP Accounts.

Step 3: To remove a FTP account, click on next to the account that you wish to remove.

SiteGround recommends that a specific directory is designated for each particular user. Leaving the directory space blank will allow your FTP users access to the main directory, and they will be able to alter the content of your website.

If you are willing to grant such access, please consider doing this for a limited time and then change your password. The more public your authentication data is, the higher the risk for your account.

Please note that using one and the same directory for the purpose of both password protected and FTP storage is not recommended.



FTP Hosting
(c) Copyright 2006 SiteGround FTP Hosting Services. All rights reserved

FTP Sessions

Controlling FTP session

You can use this function to see who is currently logged into your site through FTP. You can also terminate any FTP connections to your site that you feel should not be open. This can be very useful in preventing users from accessing your files without your permission.

Step 1: To access the FTP Manager, click on the icon above the words FTP Manager on the main screen of your cPanel interface.

Step 2: Click on FTP Session Control. You will see all the users logged in through FTP on this page. Their username as well as the server they are logging in from, and the time they logged in at will be shown.

Step 3: To end a user's FTP session, click on disconnect next to the user you wish to end the session for.

Troubleshooting Tips: Terminating a user's session while they are transferring files may cause a problem. Make sure you wish to terminate a user's session before doing it.



FTP Hosting
(c) Copyright 2006 SiteGround FTP Hosting Services. All rights reserved

Anonymous FTP

Anonymous FTP Access. Anonymous FTP Message

The Anonymous FTP access is not allowed on SiteGround.com. This function is disabled for security reasons.

Note: Anonymous FTP can not be activated on a shared hosting server, since there is no way to determine for which account logins should be accepted. There are hundreds of sites on a single machine, and it is technically not possible to have them all use the Anonymous FTP feature.

This is feature can be activated on a VPS or a Dedicated Server.



FTP Hosting
(c) Copyright 2006 SiteGround FTP Hosting Services. All rights reserved

CHMOD with FTP

Changing permissions (CHMOD) recursively using SmartFTP

What is CHMOD

CHMOD is a UNIX command that changes the mode of a file. There are three modes a file can have turned on or off: read ability, write ability, and execute ability. Each mode can be set for either the owner, the members of the owner's group, or all users.

Here you will find detailed instructions how to change the permissions of a file using SmartFTP. SmartFTP is an FTP client, which can be downloaded from here.

How to use CHMOD?

When you have downloaded and installed the FTP client, please connect to your FTP server. (In case you have an account with SiteGround, please, use the username and pass of your cPanel account to connect via FTP.)

Once connected, you will need to locate the file(s)/folder(s), where you would like to change the permissions. In this example, we will change the permissions on the Templates folder and all of the subdirectories/files within it.

Next, right-click on the Templates folder. A new menu will appear as shown below. Click on Properties / CHMOD.

A new window will popup. In this new window there is a field labeled Permissions. Change the value in this field to the appropriate number as specified by the documentation of the product you're using. In this example, we will change the value to 777 as shown below.

You may also want to change all of the permissions of the files and subfolders on the templates directory as well. SmartFTP has a useful feature that allows you to change the permissions recursively. This means that the permissions you have entered in the Permissions field will also be applied to all of the files and subfolders of your current selection. To do this, check the checkbox labeled Apply changes to this folder, subfolders and files as shown below.

Let the request process. This can take several minutes if you are changing the permissions on a lot of files. That's it, well done!

Please, feel free to contact us if you have any questions or recommendations about this tutorial at: tutorials 'at' siteground.com



FTP Hosting
(c) Copyright 2006 SiteGround FTP Hosting Services. All rights reserved