Connecting to remote host via FTP - problem with root directory (Could not change work directory)

Good day. Sorry newbish questions, but i have some problem with connecting PHPstorm.

Dev machine running Windows 10. Website is located on remote server (Centos7). i have installed xdebug on remote vm and PHPstorm on Windows. CRM is running on VM and has path /var/www/crm_location.  Now i'm trying to connect to this VM using PHPstorm, but i stuck from the beginning. 

My steps:

- Create New Project from Existing Files =>

- Web server is on remote host, files are accessible via FTP/SFTP/FTPS =>

- Filling proj. name, local path =>

- Filling Name, Host, User name, Password, instead of Root path "/" i write Root path "/var/www/crm_location", fill Web server URL = "crm_url" =>

- I get error message - "Could not change to work directory "/var/www/carm_location"

 

Am i doing something wrong? I tried to switch Active/Passive mode but no luck, same error.

0

Please create an empty project and then try to configure the deployment config there at Settings | Build, Execution, Deployment | Deployment. It should give you more feedback.

It only makes sense to go with the passive mode, I've never seen anyone actually utilizing the active one.

If nothing works still, please add #com.jetbrains.plugins.webDeployment to Help | Debug Log Settings, restart PhpStorm, reopen this project, try to connect again and then upload the IDE log somewhere.

0

请先登录再写评论。