File Transfer Protocol (FTP) is a standard method for transferring files between a local computer and a remote server. Whether you’re managing a website or transferring files, knowing how to use FTP is essential.
In this guide, we’ll walk you through the process of accessing a remote website using FTP on Windows, Ubuntu, and MacOS.

1. What is FTP?
FTP (File Transfer Protocol) is a network protocol used to transfer files between a client (your computer) and a server. It requires an FTP client, a set of login credentials, and a connection to the server.
Why Use FTP?
- Upload and download website files
- Manage remote files efficiently
- Transfer large files faster than HTTP
2. How to Access a Remote Website with FTP on Windows
Windows users can use software like FileZilla or the built-in command prompt for FTP access.
Using FileZilla
- Download and install FileZilla.
- Open FileZilla and enter the following details:
- Host: Your FTP server address
- Username: Provided by your hosting provider
- Password: Your FTP account password
- Port: Usually 21
- Click Quickconnect to access your server.
- Use the left panel to navigate local files and the right panel for remote files.
Using Command Prompt (CMD)
- Open Command Prompt (Win + R, type
cmd, press Enter). - Type:
ftp your-ftp-server.com - Enter your FTP username and password.
- Use commands like:
ls→ List filescd foldername→ Change directoryget filename→ Download a file
3. How to Access a Remote Website with FTP on Ubuntu
Ubuntu users can use the Terminal or an FTP client like FileZilla.
Using Terminal
- Open Terminal (Ctrl + Alt + T).
- Type the following command:
ftp your-ftp-server.com - Enter your FTP credentials.
- Use basic FTP commands to navigate and transfer files.
Using FileZilla on Ubuntu
- Install FileZilla:
sudo apt install filezilla - Open FileZilla and connect to your FTP server using the same steps as in Windows.
4. How to Access a Remote Website with FTP on MacOS
MacOS users can use Terminal or an FTP client like Cyberduck.
Using Terminal
- Open Terminal (Cmd + Space, search “Terminal”).
- Type:
ftp your-ftp-server.com - Enter your credentials and use FTP commands to transfer files.
Using Cyberduck
- Download Cyberduck.
- Open the app and click Open Connection.
- Enter FTP credentials and connect to your server.
- Drag and drop files between your Mac and the remote server.
5. Troubleshooting Common FTP Issues
1. Connection Timeout
- Ensure the FTP server is online.
- Check firewall settings and allow FTP connections.
2. Incorrect Login Credentials
- Double-check your username and password.
- Contact your hosting provider if unsure.
3. Passive vs. Active Mode
- If experiencing issues, switch between Passive Mode and Active Mode in your FTP client settings.
FTP vs SFTP vs FTPS: Which Should You Use?
| Protocol | Encryption | Typical port | Recommendation |
| FTP | None, so passwords and files travel in plain text | 21 | Avoid on public or untrusted networks |
| FTPS | Uses TLS encryption on top of FTP | 21 or 990 | A good choice when your host supports it |
| SFTP | Uses SSH encryption | 22 | Usually the best option when available |
Where to Find Your FTP Details in cPanel
To connect, you need a host name, a username, a password, and a port. In cPanel, open the FTP Accounts section to see or create an account and to find the connection settings. If you are new to cPanel, read our guide on how to install WordPress on cPanel to learn how the panel is organized. Many hosts also show the FTP details in the welcome email.
Common FTP Commands
If you prefer the terminal, these commands work in a standard command-line FTP client.
ftp example.com # connect to the server
ls # list files
cd public_html # change the remote directory
lcd ~/Downloads # change the local directory
get backup.zip # download a file
put index.html # upload a file
mput *.css # upload several files
bye # close the connection FTP Security Best Practices
- Use SFTP or FTPS instead of plain FTP whenever possible.
- Create separate FTP accounts for different people, and delete the accounts that you no longer need.
- Use strong, unique passwords, and limit each account to the folder that it needs.
- Never save passwords in a shared computer’s FTP client.
- Keep a copy of important files before you overwrite them on the server.
Step-by-Step: Connect to Your Website With FileZilla
- Install FileZilla Client from the official website and open it.
- Enter your host name, username, password, and port in the Quickconnect bar. Use port 22 and the sftp:// prefix for SFTP.
- Click Quickconnect and accept the server’s certificate or key if you recognize it.
- Find the left panel, which shows your computer, and the right panel, which shows the remote server.
- Open the
public_htmlfolder on the server, or the folder that your host uses for your website. - Drag files between the panels to upload or download them, and watch the queue at the bottom for any failures.
Which Folder Should You Upload Your Website Files To?
Most shared hosting accounts serve your website from a folder called public_html. Files in this folder are available to visitors, so do not store private backups or password files there. If you host more than one domain, each add-on domain may have its own folder, so check your hosting documentation before you upload.
Frequently Asked Questions About FTP
Why can I connect but not see my files?
You may be in the wrong directory, or the account may be limited to a specific folder. Try navigating to the root or the public_html folder.
Is FTP still used today?
Yes. Although many platforms offer deployment tools, FTP and SFTP remain common for uploading files to shared hosting.
Conclusion
Accessing a remote website using FTP is straightforward with the right tools. Whether you’re on Windows, Ubuntu, or MacOS, following these steps will help you transfer files efficiently.
If this process seems complicated, I can help! Contact me for expert assistance in managing your website files and FTP configurations.
