FileZilla FTP

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.

 Materials

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

  1. Open FileZilla.
  2. Click on the Site Manager, which is the first icon in the upper left. It looks like a computer monitor.
    filezilla_sitemanager
  3. Click on the New Site button.
    filezilla_sitemanager_newsite
  4. Enter a new name for the New site file that is created under the My Sites folder. You can enter something likeexample.com.
    filezilla_sitemanager_example
  5. 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: username@example.com (this should be the username you created in cPanel, including the part after the @)
    • Password: your FTP password that you set in cPanel
    filezilla_sitemanager_details
  6. 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)
    filezilla_sitemanager_transfer
  7. Click OK to save your changes.
    filezilla_sitemanager_ok
  8. Now, click on the Site Manager tool again in the upper left.
    filezilla_sitemanager
  9. Click on example.com so it's highlighted.
    filezilla_sitemanager_highlight
  10. Click Connect.
    filezilla_sitemanager_connect
  11. 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.

filezilla_local_remote

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.

  1. 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.
  2. On the Local site side, navigate to your website files.
  3. To upload a single file, double-click it in the Local site list.
  4. 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.

 Tips

  • 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.
Bu cevap yeterince yardımcı oldu mu? 3 Bu dökümanı faydalı bulan kullanıcılar: (15 Oy)