Where do I put my files once connected via FTP?

Once you’ve connected to your web server via FTP, you’ll most likely see two windows in your FTP client. The following example shows the main screen in FileZilla:

10 Filezilla windows.fw.png

The left pane

On the left, you’ll see your home computer. You must navigate to the folder on your computer where your files are stored. From that directory, you can upload files to the server, or download from the server.

The right pane

On the right, you'll see your DreamHost web server. Click into the directory name of your website.

This example shows that the user is in their website directory. You can see this because the ‘Remote site’ is pointed to /home/exampleuser/example.com. Please note that different clients may not refer to this as Remote site. The important thing is that you're in your user's directory.

If you look at the window below that, you’ll see the files and folders within that directory. This example shows several WordPress files.

Uploading files

Once both panes are set to the correct directories, you can right click files or folders to upload or download.

For example:

  1. In the left window (your computer) locate the file or folder you'd like to upload.
  2. Right click it.

    Filezilla_upload_to_server.png

  3. From the pop-up, choose 'Upload'. This uploads the file to the server. You can immediately see the file in the right pane. If the right pane is set to your website directory, the file is then live on your website.

Downloading files

To download from the server, right click a file or folder and choose 'Download'.

Filezilla_download_from_server

  1. If you want to download your entire website, navigate back to the user directory. You can see this in the 'Remote site' field.
  2. Next, right click the website folder titled 'example.com'.
  3. From the pop, choose download. The full folder and all of its files are then downloaded to your computer.

A final note on the directory structure:

  • Your user's directory is where you'll see all of your user config files, Maildir, logs, and site folders.
  • You will never upload your content to this directory.
  • Always make sure you're in your site's directory when uploading site content. For example:
/user_directory
/logs
/Maildir
bashrc
bash_profile
/example.com

See also

Did this article answer your questions?

Article last updated .