Accessing Files on Web Servers
On this page:
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 CLion 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.
Access to servers is controlled through server configurations of the type FTP, FTPS, SFTP, or Local or Mounted Folder.
Accessing a server
- Open the Remote Host tool window by choosing Tools | Deployment | Browse Remote Host on the main menu.
- Select the required deployment server from the drop-down 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 box that opens configure access to the required server.
Handling files and folders on the server
From the Remote Host tool window, you can create, move, rename, and delete files and folders on the server.
To create a folder
Select the parent directory and choose Create Folder on the context menu.
To remove a file or folder
Select the required file or folder and choose Delete on the context menu.
To rename a file or folder
Select the required file or folder in the tree view, choose Rename on the context menu, and specify the new name in the Rename dialog box that opens.
To move a file or folder
- Select the file or folder to move and choose Cut on the context menu.
- Select the new parent folder and choose Paste on the context menu. Then confirm the changes in the Move remote Items dialog box that opens.