Viewing and Editing Remote Server Files in your Workspace

Folders situated on FTP/ SSH servers can be saved onto your Workspace while maintaining the link with the FTP/ SSH server.

Any changes made in the files and folders located on either the FTP/ SSH servers or the Workspace will be updated in both of the file locations.

This procedure describes how to simultaneously edit files and folders on your FTP server and your Workspace.

 

 

Instructions on how to complete a procedure

To save, view and edit files in your Workspace which are located on an FTP/ SSH server:

  1. In PHP Explorer view, right-click and select New | Remote Folder -or- go to File on the Menu Bar and select New | Remote Folder.

  2. The New Remote Folder creation wizard will open.

ftp_new_remote_folder1.png

New Remote Folder creation wizard

  1. Select the project in which you want to place your FTP/ SSH folder.

  2. In the Remote folder selection, click Browse.
    The Select Folder dialog will open.

ftp_new_ftp_folder.png

Select FTP Folder dialog

  1. In the 'Connection' drop-down list, select your FTP/ SSH connection.
    If you have not yet established a connection, click New and follow the instructions under Creating an FTP/SSH Connection.

  2. Your FTP/ SSH file system will be displayed.

  3. Select the folder you would like to link to your Workspace and click OK.

  4. You will be returned to the New Remote Folder dialog.

ftp_new_remote_folder.png

New Remote Folder creation wizard 2

  1. The link name will be automatically be updated with the name of your folder. Edit this if required.

  2. Click Finish.

Your FTP/ SSH folder and its contents will be added to your Workspace.

Most of Zend Studio 's functionality, such as Content Assist, Formatting, Outline Models and Getter and Setter Generation will be available to help you edit the file.

Any changes made to the files and folders in your Workspace will be updated in the FTP copy, and conversely any changes made on the FTP copies will be updated in your Workspace.

Folders that are linked to FTP will be displayed with a linked connection icon ftp_folder.png.

Note:

Deleting an FTP/ SSH folder from your Workspace will only delete it from your Workspace.
However, deleting a file contained within a folder will also delete the file on the FTP/ SSH server.
Adding new files to the linked folder in your workspace will upload the new files to your FTP/ SSH server.

 

 

link_icon.png

Related Links:

FTP and SSH Support

Creating an FTP/SSH Connection

Viewing and Editing Files on an FTP/SSH Server

Remote System Explorer

Remote Server Support