Deployment: Connection Tab
Use this tab to choose the way to access the Web server and specify the connection settings. The set of controls depends on the chosen server access type.
Common settings for all server types
Item | Description |
---|---|
Visible only for this project | Use this checkbox to configure the visibility of the server access configuration or server group.
For details on setting up interpreters, see Node.js via SFTP and Node.js via SSH. |
Type | In this list, choose the way to access the server. The available options are:
|
Web server URL | In this field, specify the Web server root folder URL address. Click in the field to make sure the specified server root URL address is accessible and points at the correct web page. Both the HTTP and the HTTPS protocols are supported. |
FTP and FTPS settings
Item | Description |
---|---|
Host | In this field, specify the host name of the server to upload the files to. |
Port | In this field, specify the port to use. The default value is 21. |
Root path | In this field, specify the server configuration root relative to the root folder on the server. This folder will be the highest one in the folder structure accessible through the current server configuration. Do one of the following:
|
Autodetect | Click this button to have PyCharm detect the user home folder settings on the server and set up the root path accordingly. |
User name | In this field, type your username for authentication to the server. |
Password | In this field, type your password for authentication to the server. |
Login as anonymous | Select this checkbox to enable anonymous access to the server with your email address as password. |
Save password | Select this checkbox to have PyCharm remember the specified password. |
Test Connection | Click this button to check that the specified settings ensure successful connection. The button is only enabled when you have specified your user credentials. |
FTP and FTPS advanced settings
In the Advanced area, customize upload/download by specifying additional protocol-specific options for the FTP/FTPS server configurations.
Item | Description | Available for |
---|---|---|
TLS | Choose the method to invoke client security:
| FTPS |
Data channel protection level | From this list, set the protection level for the PROT command:
For more information, see the articles on TLS, SSL 2.0, and SSL 3.0. | FTPS |
Reuse SSL session | Select this checkbox to connect to a server that requires SSL session reuse between the control and data connections. | FTPS |
Disable TLS 1.3 | Select to disable TLS 1.3 features and have PyCharm fall back to connecting via TLS 1.2. Use this option if you experience issues with establishing a connection to a server or uploading certain files. | FTPS |
Passive mode | Select this checkbox to set the client on your machine to passive mode, when it connects to the server to inform about being in the passive mode, receives the port number to listen to, and established data connection through the port with the received number. This mode is helpful when your machine is behind a firewall. | FTP, FTPS |
Show and process hidden files | When this checkbox is selected:
The name of a hidden file or directory starts with a dot .. | FTP, FTPS |
Use LIST command | Use the options in this area to configure the LIST command usage.
| FTP, FTPS |
Concurrent connections limit | Select this checkbox to have PyCharm restrict the number of connections to be supported simultaneously and specify the maximum number of allowed connections in the field. | FTP, FTPS |
Retrieve files timestamps | Use this list to specify the MDTM FTP command calling policy to retrieve the last-modified time of a given file on the remote host. The available options are:
| FTP, FTPS |
Send keep alive messages each | In this field, specify how often you want PyCharm to send commands to the server to reset the timeout and thus preserve the connection. | FTP, FTPS |
Keep alive command | From this list, choose the commands to be sent to the server to reset the timeout and thus preserve the connection. | FTP, FTPS |
Encoding for client-server communication | In this field, specify the encoding that matches the encoding used by your server. Accept the default value if you are not sure that it supports UTF-8 encoding. | FTP, FTPS |
SFTP settings
Item | Description |
---|---|
SSH configuration | From this list, choose one of the created SSH configurations, or click and create a new configuration as described in Create SSH configurations. |
Test Connection | Click this button to check that the specified settings ensure successful connection. The button is only enabled when you have specified your user credentials. |
Root path | In this field, specify the server configuration root relative to the root folder on the server. This folder will be the highest one in the folder structure accessible through the current server configuration. Do one of the following:
|
SFTP advanced settings
In the Advanced area, customize upload/download by specifying additional protocol-specific options for the SFTP server configurations.
Item | Description |
---|---|
Concurrent connections limit | Select this checkbox to have PyCharm restrict the number of connections to be supported simultaneously and specify the maximum number of allowed connections in the field. |
Send keep alive messages each | In this field, specify how often you want PyCharm to send commands to the server to reset the timeout and thus preserve the connection. |
Encoding for client-server communication | In this field, specify the encoding that matches the encoding used by your server. Accept the default value if you are not sure that it supports UTF-8 encoding. |
Ignore info messages | On some SFTP servers, the SSH banner may be enabled. Every time a connection is established, a popup with an information message may be shown and to continue you would need to click OK. To suppress showing the information popup, select the Ignore info messages checkbox. |
Local or mounted folder settings
Item | Description |
---|---|
Folder | In this field, specify the server configuration root. The server configuration root is the highest folder in the file tree on the server that can be accessed through the server configuration. The easiest way is to use the document root of your Web server as defined in the Web server configuration file. However you can appoint any other existing folder under the document root. |