Accessing Files on Web Servers
The functionality described on this page and in the whole Working with Web Servers: Copying Files chapter is available only in the Ultimate Edition of IntelliJ IDEA.
Once you have set up synchronization between your local application sources and the application sources on a server, you can create new folders, move, rename, and delete existing files and folders. You can also compare files and folders on the server with their local versions.
For the sake of simplicity, any file or folder in your IntelliJ IDEA project is called local and any file or folder on the server is called remote, even if the server is actually installed on your machine. For details, see Configuring Synchronization with a Web Server.
Although IntelliJ IDEA supports direct editing of individual non-project files on servers, to keep your local and remote sources synchronized, configure automatic upload using the >Upload changed files automatically to the default server drop-down list in the Options dialog box.
Access to servers is controlled through server configurations of the type FTP, FTPS, SFTP, or Local or Mounted Folder.
To access a remote server
- Open the Remote Host tool window by choosing or from the main menu.
- Select the required deployment server from the list. The tool window shows a tree view of files and folders under the server root. If no relevant server is available in the list, click , and in the Deployment dialog that opens configure access to the required server.
From the Remote Host tool window, you can right-click on files and directories to create, move, rename, and delete files and folders on the server, as well as upload and download the desired items.