Reputation: 1134
I've just got PHPStorm for a 30 days trial and I like it, but coming from Notepad++ I need the SFTP sync. I set up the connection to my remote server (DigitalOcean) and I can browse the server, open a ssh connection in the console and sync manually the local files with the server files.
The problem is that it won't auto sync when for example I save a file on local.
In Settings\deployment\options
I set Upload changed files automatically..
to On explicit save Action (CTRL + S)
and restarted the IDE.
But when I save a file locally it won't sync with the one on the server.
I have to manually right-click the local file and select Sync with deployed to..
, at which point the window with the difference between the two files is shown. Here I have to manually sync them.
This process is very slow so I want the file to automatically upload to the server.
Also, if possible, when I create a file or folder on local, the file or folder to be also created on the server.
All the permissions are set to 777
on the server also.
Is there some kind of bug ?
This is the guide I followed.
Upvotes: 1
Views: 6603
Reputation: 165511
Sounds like you have not marked your deployment server as Default for this project. Automatic upload works with Default entry ONLY.
You can do this at Settings (Preferences on Mac) | Deployment
.
Upvotes: 3