# Adding a site connection [edit]

This page describes how to add a site connection between a remote FTP or SFTP site and a folder or project on your local hard drive.

## Introduction

In Aptana, there are several ways that you can transfer files between a remote FTP (or SFTP) site and a file or project on your local hard drive.

- You can drag and drop files around in the File View.
- You can right-click a file, folder, or FTP site in the File View and select Synchronize > Upload (or Download) from the context menu.
- You can perform a complete synchronization using the Sync Manager.

Before you can perform any of these file transfers, however, you will need to set up an FTP site (see Adding an FTP site) and then add a connection between that site and your local hard drive.

## Instructions

To add a connection between a remote site and your local hard drive:

1. On the Sync Manager View (which may be hidden behind the Code Assist Profiles View), click the Add Site Connection button to open a Create Site Connection window.

   You can also right-click a folder in your File View and select Synchronize > Create new synchronize connection from the context menu.

2. On the Create Site Connection window, define your connection.
   1. In the Connection name field, type a name for the connection.
   2. From the Local Path drop-down list, select File or Project to specify using either the File View or Project View as your local source.
   3. For the local path, click the Browse button to browse to the folder or project that you want to sync.(If you right-clicked a folder in File View to add the connection, this will automatically be filled in for you.)
   4. From the Sync Target drop-down list, select the remote site that you want to connect to. If you do not see the remote site that you want, select one of the following options:
      - Add new Project Shortcuts... - Access your Project View.
      - Add new SFTP... - Add a new SFTP connection.
      - Add new FTP... - Add a new FTP connection.

      (See Adding an FTP site to learn how to add an FTP site.)

   5. Click OK.

   Aptana adds your new connection to the Sync Manager and to the corresponding folder in the File View.

## Related Topics

- About the Aptana FTP tool
- Adding an FTP site
- Synchronizing your files
- Editing a file from a remote site
- Uploading or downloading a file or folder
- Displaying the Sync Manager View

Retrieved from "http://aptana.com/docs/index.php/Adding_a_site_connection"

Category: AptanaHelp