I
I
Ilia_UA2018-10-30 21:42:39
phpstorm
Ilia_UA, 2018-10-30 21:42:39

PhpStorm delete files and folders on remote server (Remote Host)?

Not so long ago I discovered, I would say, a terrible trouble in PhpStorm - when viewing the contents of Remote Host, sometimes for some unknown reason the folder is taken down from the server. Those. clicked on the arrow next to the folder to hide / unfold it - and it is simply deleted from the server. Or looked at some file remotely, closed it and it was gone.
Has anyone met with this? What is it connected with? My FTP host is set as the default for the project, there is an automatic unloading of changes by Ctrl + S. But it should not affect the removal in any way, in theory.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Shumov, 2018-10-30
@inoise

index0h has already suggested. I can offer in addition only to stop working on ftp. This is a very bad practice - better learn how to use git and deploy projects via ci/cd. For example using gitlab

I
index0h, 2018-10-30
@index0h

If you have auto sync installed, the files will be deleted too. Set to ignore directories you don't want to touch

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question