Enabling/Disabling a PHP Project as a Remote Project

This procedure describes how to enable a local PHP project as a remote project by applying a Remote Connection Profile to it, and therefore associating it with a remote server. Working with remote projects allows you to develop your code in one environment, while in parallel executing it in a different environment.

Enabling/disabling a project is done through the Automatic Upload Support Properties dialog.

 

Enabling a Project as a Remote Project

This procedure describes how to enable your local project as a remote project by associating it with a remote server. This allows you to transparently access your remote server and remote resources, providing an easy way to upload and download files from your remote server.

 

 

Instructions on how to complete a procedure

To enable a project as a remote project:

  1. Select the project you would like to enable and go to Project | Properties | Automatic Upload  - Or - Select Properties | Automatic Upload from the Right Click Menu in your project directory.
    The Automatic Upload  Properties page opens.

  1. Select the Enable automatic upload check-box.

  2. Select the Remote Connection option to modify the current settings on the page.
  3. Select a remote connection from the Remote Connection drop down menu.
    You can manage the remote connection you have associated with your project by clicking Manage. If you do not have any remote connections already defined, you must add a Remote Connection Profile. See Working with Remote Connection Profiles for more information.

  4. Click OK to enable your project as a remote project.

  5. A message appears asking if you would like to upload all files in your project to the remote server. Click Yes to upload your project's files in the workspace to the remote server. To skip this step, click No and upload data from your workspace to the remote server when you would like to.

  6. If you click Yes, the Remote Server Upload dialog opens.

  1. Expand the Project Directory to see all the folders within it that will also be uploaded.

  2. Select the folders you want to upload to the remote server by selecting the check-box next to the folder name.
    By default all folders are selected.

Note:

If you open the Right Click Menu from a specific folder/file within the project instead of the project name, only the folders/files contained within those resources will be selected by default.

  1. Click on a selected folder to view the included files.
    The individual files can also be selected/unselected to upload to the remote server. By default, all files within a folder are selected.
    On this page you can also:

  • Filter Types - Opens the Inclusion and Exclusion Patterns dialog. Defining exclusion/inclusion patterns allows you to filter which folders/files will be uploaded. For more information see Working with Inclusion and Exclusion Patterns.

  • Select All - Selects all the folders and files.

  • Deselect All - Deselects all the folders and files.

  1. Click Finish.
    The selected files are uploaded to the server.

To find out how to disable your project as a remote project see Disabling a Project as a Remote Project.

Now that you are working with a remote project, you can Download Folders/Files from the Remote Server and Upload Folders/Files to the Remote Server.

All tasks you perform while working with Remote Server Support will appear in the Console view. Checking the Console view is the most efficient way to ensure that the action has been completed as you have requested. It will also show any problems that occurred during the task.

Disabling a Project as a Remote Project

This procedure describes how to disable a project as a remote project. Once disabled, a project will no longer be associated with a remote server and will no longer allow you to transparently access your remote server and remote resources.

 

 

Instructions on how to complete a procedure

To disable a project as a remote project:

  1. Select the project you would like to disable and go to Project | Properties | Automatic Upload .  - Or - Select Properties | Automatic Upload  from the Right Click Menu in your project directory.

  1. Deselect the Remote Connection option to disable the project as a remote project.
    Your project is no longer associated with a remote server.

To enable your project as a remote project see Enabling a Project as a Remote Project.

All tasks you perform while working with Remote Server Support will appear in the Console view. Checking the Console view is the most efficient way to ensure that the action has been completed as you have requested. It will also show any problems that occurred during the task.