How to Use an FTP Program - Viral Tech

Go to content

How to Use an FTP Program

When you want to publish files to your web server, you need an FTP program (File Transfer Protocol). Many HTML editors already have a built-in FTP function and many web hosts allow you to upload files via a web browser.

Both options work well, but an FTP program can be a better alternative because they include more features and more control over the file transfer.

This guide shows how to get started and use an FTP program and the basic functions when sending files to your web host. This is not a detailed review of all functions available, but the essential to get you started.

There are many FTP programs to choose from and they offer near enough the same functions and interfaces.  CuteFTP is highly rated and you can try it for free for a limited time, but must pay a fee once the trial runs out. In this guide, we have chosen to use FileZilla which is free and open source software.
Download and install FileZilla
FileZilla is free and open source and available in both FTP client and FTP server. In our example we will use the FTP functions to upload and download files from the web server.

1. Download FileZilla here:

2. Select "FileZilla Client".

3. Choose your operating platform. For example, Windows (64bit).

4. Once the file has downloaded located it on your computer double-click on the icon and the installation process will start.

5. Agree to the license terms.

6. Select all users or just me.

7. Install FileZilla with the default settings. If you want a desktop item tick that box as well.

8. Confirm where you want the software to be installed. Normally this is in program files.

9. Click on finish the installation button and start the program.

Making a connection to your web server
FileZilla allows you to add multiple connection details in Site Manager. Select the menu "File/Site Manager" or click on the "Site Manager" button in the top left-hand corner.

Select "new site" and enter a name of your choice. It's probably best to choose the name of your website.

Enter the "host", "user" and "password" given to you by your web host. Choose port 21 as default or leave the field empty if no port needs to be specified. Select Normal logon to see the fields for "user" and "password".

Test the connection to your web server with the "Connect" button!

If the connection is successful, you should see your remote location and the files and folders.

Below are the files in the folder "public_html" but other common name is "www" or "www_root" etc. Click on the folder to open it.

Transferring files
An FTP program shows the file structure on your local computer and the remote computer (server) side by side. In this example, the remote computer (web server) is on the right and the local computer to the left but it may differ depending on the FTP program you are using. Make sure that you open and selected the correct destination folder on the Web server, and then select the folders or files you want to upload from your local computer.

To transfer files from your local computer (left) to the web server (right) you can drag and drop files. Another method is that you select the file or files and folders to transfer, right-click on the file/folder and select "Send".

If you want to transfer files from the web server to your local computer, select the files, right click on the folder and select "Download".
ASCII or binary file transfer?
Standard Mode for transferring files is "Auto", which means that most of the files are transferred in binary mode. You do not normally need to change anything here, but if you experience problems with the files after the transfer, it could be that the files transferred are using the wrong method.

ASCII is a form of "text" and is used to remove extra characters such as line breaks to work with any server program. CGI files is an example of the type of file that can be transferred as ASCII if it fails to run on the web server. ASCII (American Standard Code for Information Interchange) uses 7 of 8 bits in the transmission and it was an advantage when "broadband" did not exist and modem transmission was standard. Binary files use all 8 bits during transmission and is used for files, images, databases, music files, video and compressed ZIP files.

If you need to select the transfer type, you can do by clicking on the "transfer" tab and select "transfer type" it will then give you the option to transfer files in either ASCII or Binary.  

CHMOE - specify file permissions
CHMOD (change mode) is a method used to change the properties and rights for files and folders on Unix-like systems. Most FTP programs have functions to change the CHMOD and features may have names such as "file attributes", "Change Mode" or "file permissions". Several web hosts have a web based control panel where you can change the CHMOD instead of using an FTP program.

File permissions is assigned to the three groups. Owner permission, group permission and public permission. The example below show CHMOD with FileZilla FTP.

To change file attributions, simply select a folder and right click and select "file permissions".
Add a comment
comments powered by Disqus
The New RT-AX88U Wi-Fi 6 Router from Asus
You've probably never heard of it, or not until now, but Asus is releasing a new Wi-Fi 6, or 802.11ax wireless router.
Published by Webmaster - 2/11/2018
The Camera Happy A9 Phone from Samsung
South Korean electronics manufacturer Samsung's is adding a new phone to A Series called the Galaxy A9 and its the world's first smartphone with four rear cameras.
Published by Webmaster - 17/10/2018
A New Phone from Razer Called the Phone 2
About a year ago, Razer, more commonly known for making game accessories, released its first phone. Now they've had a second attempt and named it simply the Razer Phone 2.
Published by Webmaster - 16/10/2018
Google Decides to Pull the Plug on Its Social Media Platform, Google Plus
After low user engagement and the discovery of a software error, that potentially exposed the data of hundreds of thousands of its users, Google has decided to pull the plug on its social media platform.
Published by Webmaster - 15/10/2018
3 New Surface Devices from Microsoft
Microsoft is about to release new Surface devices, namely the Surface Pro 6 and Surface Laptop 2, both with a matte colour option, and the Studio 2.
Published by Webmaster - 14/10/2018
Copyright © ViralTech.Co.Uk - All Rights Reserved
Back to content