FileZilla is a free FTP (File Transfer Protocol) program for Mac OS X and Windows that you can use to upload website files to your server.
Before you begin, please set up your FTP user on your cPanel server. See this article for instructions:
Please make a note of your FTP username and password, because we will be using them in the instructions below.
Connect to Server
- Open FileZilla.
- Click on the Site Manager, which is the first icon in the upper left. It looks like a computer monitor.
- Click on the New Site button.
- Enter a new name for the New site file that is created under the My Sites folder. You can enter something likeexample.com.
- Now, fill in your FTP information:
- Host: ftp.EXAMPLE.COM (replace EXAMPLE.COM with your domain name)
- Port: 21, or if you are using SFTP, 22
- Servertype: FTP or SFTP
- Logontype: Normal
- User: firstname.lastname@example.org (this should be the username you created in cPanel, including the part after the @)
- Password: your FTP password that you set in cPanel
- Go to the Transfer settings tab.
- Transfer mode: Passive
- Check Limit number of simultaneous connections
- Maximum number of connections: 1 (so FileZilla won't try to open multiple connections in the same session)
- Click OK to save your changes.
- Now, click on the Site Manager tool again in the upper left.
- Click on example.com so it's highlighted.
- Click Connect.
- You should see some dialog in the top window. After it runs through a few commands, you should see Status: Directory listing successful.
That's it! You are now connected to your cPanel server over FTP.
Tip: The next time you want to connect to your server, you can access it directly from the Site Manager button. Just follow Steps 8-10 above to connect to your server in three clicks.
Upload a File
First connect to your server.
FileZilla shows you six panes by default. We're interested in the big ones on the left and on the right that show a bunch of files and folders.
The one on the left, titled Local site, shows you a list of files and folders on your local computer. The one on the right, titledRemote site, shows you a list of files and folders on your server. The upper section shows you a file tree you can navigate through, and the lower section shows all the files and folders. You can navigate through the folders just like you would on your computer. To enter a folder, double-click it. To go back up a level, double-click on the top folder with two dots.
- Double-click the public_html folder on the Remote site side. This is your website document root folder. It's where you should upload your website files.
- On the Local site side, navigate to your website files.
- To upload a single file, double-click it in the Local site list.
- You'll notice a progress bar at the bottom of the screen in FileZilla. Your file may take longer or shorter to upload, depending on its size and your internet connection speed. When it's done uploading, you should see the file appear on the Remote site side.
You've just uploaded a file for your website. You should now be able to view that web page when you visit your website online.
- You can download a file from your server by double-clicking on it in the Remote site panel.
- You can rename or move files on your server just like you would on your local computer.
- Right-click on files to get advanced options.
- Your home page needs to be called index.html or index.php.
- You can drag and drop files into the Remote site panel from anywhere on your computer. This makes uploading even easier!
- You can drag and drop entire folders to or from FileZilla to upload or download multiple files at once.