How to Connect to FTP Using FileZilla on Windows ?

FileZilla is a free FTP client which is available for most of the popular operating systems including Windows and Mac OS. In order to use this FTP client on your PC, you should follow these steps:

  1. Download FileZilla to your local computer
  2. Install the client
  3. Specify your FTP login details
  4. Connect to your FTP account on the server
The installation package of FileZilla can be obtained by click here.
Once you download it, start the file and follow the setup instructions until the application is successfully installed. Finally, start FileZilla.

At the top of the application you will find fields for the FTP connection that you need to fill as follows:

  • FTP server name: enter your domain name here or the name of the hosting server where your account resides
  • FTP username: your cPanel username
  • FTP password: your cPanel password

When you’re finished entering your settings, connect to your account by clicking the “Quickconnect” button in your FileZilla toolbar. When you connect successfully, you’ll see a note in the status area at the top of your screen indicating that you are connected. The files and folders on your own computer will appear in the “Local Site” pane on the left side of your screen. Your Web Hosting account files and folders will appear in the “Remote Site” pane on the right. You can now transfer files and folders between your local computer and your hosting account by dragging them from the left pane to the right.
 

Quick Guide

This guide gives you a short overview on how to use FileZilla client. By default you don't have to configure FileZilla, so you can start directly working with the program.

 

Connecting to an FTP server

Using the Quick Connect bar

To connect to an FTP server, enter the address of the server into the host field of the Quickconnect bar (e.g. example.com - see image below). If it is a special server type like an SFTP server, add the protocol in front of the address. In case of an SFTP server, start the address with 'sftp://' (e.g. sftp://example.com). Enter the port of the server into the port field if it is not the default port (21 for FTP, 22 for SFTP). If a username / password is required, enter it in the corresponding fields, otherwise the default anonymous logon will be used. Click on Quickconnect or press Enter to connect to the server.

Enter-info.png

Please notice that the Quick Connect is for... quick connections - so there is no way to edit the quick connections list which stores the last 10 entries. To store FTP server names you should use the Site Manager, instead.

Quick Connect is good for testing the login info before making a site manager entry. Once you connect, you can choose File -> "Copy current connection to Site Manager..." to make a permanent entry. It is usually best to check your login info with Quick Connect before making a permanent entry.

Using Site Manager

You can use the FileZilla Site Manager to specify specific site parameters and connect to the targeted FTP site. The Site Manager allows you to store entries and configure more parameters than the Quick Connect allows.

Special case: Servers in LAN

If the server you are connecting to is in your home LAN, then there is not an address (domain name) as you may know from the Internet. In LAN, you simply use the internal IP address of the server PC. In most cases the network name (computer name) will do, too. If the server is on the same PC as Filezilla, you can even use localhost or 127.0.0.1 as hostname.

NOTE: If you connect from the outside of your LAN this does not apply, you have to use the external (WAN) IP instead.

Navigating on the server

After a successful connection attempt, a list of files and directories appears on the right side of the main window. The name of the current remote directory is listed in the edit field on the top. Below that you will see the remote directory tree. Under the remote directory is a list of the contents of the current remote directory.

To change the current remote directory:

  • Type a directory name into the edit field and press enter, or
  • Click a directory in the directory tree, or
  • Double-click a directory in the list of the current directory contents

You will notice a directory called ".." listed in virtually all directories. Selecting this directory allows you to go up to the parent directory of the current directory.

Question marks ("?") appear on directories you haven't accessed yet, indicating that the FileZilla Client can't tell if there are subdirectories within those directories. If you access the directory the question mark will vanish.

Navigating-remote.png

Navigating on your machine

Navigating on your machine works almost like navigating on the server. The current local directory and the local directory tree are displayed on the left side of the main window by default.

Navigating-local.png

Synchronized Browsing

If you have an identical directory structure on the local machine and the server, you can enable synchronized browsing. This means that any directory navigation on one machine is duplicated on the other.

To enable synchronized browsing, create an entry in the Site Manager, and on the Advanced tab, ensure that the Default local directory and the Default remote directory have the same structure. Then check "use synchronized browsing," save your settings, and connect.

Directory Comparison

To quickly see differences between files on the local machine and the server, choose View > Directory Comparison, and choose either "compare file size" or "compare modification time." (You also hide identical files by checking that option.) Then choose "Enable."

You will now see color-coded differences between copies of the same file on the different machines. See their meanings here.

Transferring files

You can upload or download a file by double-clicking on it. It will be added to the transfer queue and the transfer starts automatically. To transfer directories and/or multiple files, select them and right-click the selection. Then you can click on Upload/Download in the popup menu.

Transfer-rightclick.png


You can also drag the files from one side and drop them on the other side. To add files to the queue so that they will be transferred later, select them and click Add to Queue from the popup menu. You may also drag the files directly into the queue. Click on the Process-queue-button.png button on the toolbar to start the transfer.

Or, you can click on a file, then drag the file (a box is added to the arrow cursor) to the directory where you want to move it. The directory will be highlighted when you are over it. Let go of the mouse button and the file will be moved to the directory.

Transfer-drag.png

Detailed Information Pages

Detailed information on other aspects of the FileZilla client can be found on the following pages:

File Transfer Notes

FileZilla uses multiple FTP sessions. One session gets used purely to browse the server. The other sessions get used to do the file transfers. That way, you can always browse the server even during transfers.

For example, here is a simple car analogy: You order a pizza using your telephone (aka the browsing connection), then you hang up the telephone. Then the delivery man drives the pizza in his car to your location (the transfer connection). While the pizza is transferring, you can phone somebody else, like for example your garage because your own car is broken ;)

Reducing simultaneous connections for incorrectly configured servers

If you get a 421 Too many connections from this IP (<number>) error, the FTP server is restricting your number of connections. There are even servers restricting it to one connection at a time.

The preferred solution would be to contact the server administrator and encourage him/her to configure the server correctly (FTP uses more than one connection by design!). But if you need access immediately, there is a workaround:

1. Open the Site Manager (File - Site Manager... or the first toolbar button)

2. Create an entry for that server, enter all details you know, the more precise, the better

3. Open the 'Transfer Settings' tab

4. Tick the 'Limit number of simultaneous connections' checkbox

5. Enter the desired limit into the 'Maximum number of connections' field


Now, if you connect using the Site Manager entry, connections will be limited.

Note: If you limit connections to 1 only, there is a major drawback: You cannot browse the server anymore while a transfer is in progress!

Troubleshooting

Re-registering the shell extension (Windows only)

Especially on Vista or Windows 7 it can happen that Drag&Drop fails and you get an error message stating the shell extension doesn't work. In this case you may need to re-register it. Here's how:


1. Open a command prompt as administrator. This is important!

Start Menu - All Programs - Accessories: Right Click 'Command Prompt', select 'Run as administrator'


2. Navigate to the Filezilla program directory.

Example (32bit): cd "\Program Files\Filezilla FTP Client"
Example (64bit): cd "\Program Files (x86)\FileZilla FTP Client"

3. Re-register the shell extension.

Type 'regsvr32 fzshellext.dll' (without quotes of course)


4. If you have 64bit OS, you need to perform an additional step.

Type 'regsvr32 fzshellext_64.dll' (no quotes as well)


If you get the reply 'DllRegisterServer in ... succeeded.', you've done it (though you probably still need to reboot your computer).


ACTIVE AND PASSIVE MODE

Active mode

Make sure FileZilla Server is allowed to establish outgoing connections to arbitrary ports, since the client controls which port to use.

On the local end of the connection, FileZilla Server tries to use a port one less than that of the control connection (e.g. port 20 if server is listening on port 21). However, this is not always possible - so don't rely on it.

Passive mode

The server configuration is very similar to client configuration for active mode. In passive mode, the server opens a socket and waits for the client to connect to it.

By default, FileZilla Server asks the operating system for the machine's IP address, and for a free port number. This configuration can only work if you are connected to the internet directly without any NAT router and if you have set your firewall to allow incoming connections on all ports greater than 1024.

If you have a NAT router, you need to tell FileZilla Server your external IP address or passive mode connections will not work with clients outside your local network:

  • If you have a fixed external IP address, you can enter it in the configuration dialog of FileZilla Server.
  • If you have a dynamic IP address, you can let FileZilla Server obtain your external IP address from a special website automatically. Except your version of FileZilla Server, no information will be submitted to that website.

If in doubt, use the second option.

If you do not want to allow incoming connections on all ports, or if you have a NAT router, you need to tell FileZilla Server to use a specific range of ports for passive mode connections. You will have to open these ports in your firewall. If you have a NAT router, you need to forward these ports to the local machine FileZilla Server is installed on. Depending on your router model, you can either forward a range of ports or you need to forward all ports individually.

Valid ports can be from 1 to 65535, however ports less than 1024 are reserved for other protocols. It is best to choose ports >= 50000 for passive mode FTP. Due to the nature of TCP (the underlying transport protocol), a port cannot be reused immediately after each connection. Hence the range of ports should not be too small or transfers of multiple small files can fail. A range of 50 ports should be sufficient in most cases.

Screenshot of settings dialog of FileZilla Server showing configuration page for passive mode.

 

 


  • 0 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

Are there any FTP statistics ?

Yes, FTP statistics are available and can be found in Cpanel, Webalizer Ftp in the logs...

How to check if FTP port 21 is blocked ?

Some local ISPs are blocking the default TCP port for FTP connection – 21, which may cause...

How to check the log of my FTP client?

The FTP log can be very useful when you troubleshoot connectivity or other issues with your FTP...

How to edit hidden/system files?

Under Linux, the files starting with dot (.) are hidden system files. An example for such a file...

How to fix the ‘421 Home directory not available – aborting’ FTP error ?

If you receive this error when trying to connect to your account via FTP: 421 Home directory not...