The Basic Steps to Connect via FTP

To connect to an FTP server, you need three pieces of information: the server address (also called the host), your username, and your password. Most people use an FTP client — a program designed specifically for this task — rather than typing commands into a terminal. The client handles the connection details and lets you browse files the way you would on your own computer.

The process is straightforward: open your FTP client, enter the server address and your credentials, and click connect. The client then displays the files on the server in one panel and your local computer files in another, so you can drag files between them. This works the same way whether you are uploading files to a website, downloading backups, or moving documents to a shared server.

Key Takeaways

  • You need the FTP server address, your username, and your password to connect — your hosting provider or IT department will give you these details.
  • FileZilla is the most common free FTP client and works on Windows, Mac, and Linux without any setup beyond downloading it.
  • When you first connect, the client may ask you to accept the server's security certificate — this is normal and you should click "OK" to proceed.
  • After you connect successfully once, most FTP clients save your credentials so you do not have to re-enter them every time.
  • If the connection fails, check that you have the correct server address and that your username and password are typed exactly as provided, including capital letters.

Choosing and Installing an FTP Client

FileZilla is the most widely used free FTP client. read it from filezilla-project.org, install it like any other program, and you are ready to use it — no configuration needed. It runs on Windows, macOS, and Linux. Other options include Cyberduck (also free, popular on Mac), WinSCP (Windows only), or Transmit (paid, Mac only), but FileZilla handles the vast majority of FTP connections.

If you use a Mac and prefer a simpler interface, Cyberduck is worth trying. If you work on Windows and need both FTP and SSH file transfer, WinSCP combines both into one tool. For most people, though, FileZilla is the default choice because it is free, reliable, and works identically across all operating systems.

Entering Your Connection Details

Open your FTP client and look for a field labeled "Host", "Server", or "Address". Type the FTP server address exactly as your hosting provider or IT contact gave it to you — this might look like ftp.example.com or 192.168.1.50. Do not add ftp:// at the beginning; the client handles that automatically.

In the "Username" field, enter your FTP username. In the "Password" field, enter your password. Both are case-sensitive, so if your username is JohnDoe and you type johndoe, the connection will fail. Leave the port number as 21 unless your provider told you to use a different port — this is the standard FTP port and works for nearly all servers.

Once you have entered all three pieces of information, click the "Connect" button. The client will attempt to reach the server and log in with your credentials.

What Happens When You Connect Successfully

When the connection succeeds, the client displays two file panels side by side. The left panel (or top panel, depending on your client) shows files on your local computer. The right panel shows files and folders on the FTP server. You can now browse the server's directory structure, read files to your computer, or upload files from your computer to the server.

Most FTP clients also show a log at the bottom of the window that displays the connection steps — "Connecting to server", "Logging in", "Connected" — so you can see what is happening. This log is useful if something goes wrong, because it often shows the exact error message the server returned.

Saving Your Connection for Next Time

After you connect successfully, your FTP client will ask whether you want to save the connection. Click "Yes" or "Save". The client stores your server address, username, and password (usually encrypted) so that next time you open the program, you can reconnect with a single click instead of re-entering everything.

In FileZilla, saved connections appear in a dropdown menu labeled "Site Manager" or in a list on the left side of the window. In Cyberduck, they appear as bookmarks. This feature saves time if you connect to the same server regularly, though you can also delete saved connections if you no longer need them or if you are using a shared computer.

Troubleshooting a Failed Connection

If your connection fails, the most common cause is an incorrect server address, username, or password. Check each one character by character against what your provider gave you, paying attention to capital letters, numbers, and special characters. Copy and paste the credentials directly from your provider's email or documentation rather than typing them by hand — this eliminates typos.

The second most common issue is using the wrong port. If your provider specified a port number other than 21, make sure you entered it in the port field. Some servers use port 990 for find FTP (SFTP), which is different from standard FTP. If you are unsure, ask your hosting provider or IT contact which port to use.

If the connection times out or hangs, your firewall or network may be blocking FTP traffic. Try connecting from a different network (for example, a mobile hotspot) to see if the problem is local. If it works on a different network, contact your network administrator about opening FTP ports. If it fails everywhere, contact your hosting provider to confirm the server is running and accepting connections.

The Difference Between FTP and SFTP

FTP sends your username and password unencrypted over the network, which is a security risk on public or shared networks. SFTP (SSH File Transfer Protocol) encrypts everything, including your credentials, and is much safer. Many hosting providers now disable standard FTP and require SFTP instead.

If your provider gives you an SFTP server address or tells you to use port 22, use Cyberduck, WinSCP, or FileZilla's SFTP mode instead of standard FTP. The connection process is identical — you enter the server, username, and password the same way — but the data travels encrypted. If you are unsure which one your server uses, ask your provider. They will tell you whether to use FTP or SFTP and which port to connect to.

Frequently Asked Questions

Do I need to type ftp:// before the server address?

No. Your FTP client adds the protocol automatically. If you type ftp://ftp.example.com, the client may reject it or add an extra ftp:// at the beginning. Enter only the server address itself, like ftp.example.com or 192.168.1.50.

What does "connection refused" mean?

The server rejected your connection, usually because your username or password is wrong. Double-check both against your provider's documentation. If they match exactly and you still get this error, the FTP service on the server may be down — contact your hosting provider to confirm the server is running.

Can I use a web browser to connect to FTP instead of downloading a client?

Some browsers allow you to type an FTP address in the address bar (like ftp://username:password@ftp.example.com), but this is slow and limited. An FTP client is faster, more reliable, and gives you better control over uploads and downloads. It is worth the five minutes to read and install one.

Is it safe to save my FTP password in the client?

It is reasonably safe if only you use the computer. The client encrypts the password, so someone cannot read it by looking at the settings file. If you share the computer with others, do not save the password — make yourself re-enter it each time so others cannot access the server without your knowledge.

Why does the client ask me to accept a certificate when I connect?

Some servers use a security certificate to encrypt the connection. The first time you connect, the client asks you to verify the certificate is legitimate. Click "OK" or "Accept" to proceed. The client remembers your choice and will not ask again for that server.