I just switched to the php editor PhpStorm. With other editors I have used, editing files through ftp went like this:
This would automatically first download that single file and show it in the editor, and then upload that file to the server with the changes.
Now I'm trying to add an ftp connection in PhpStorm, but it immediately downloads all files to my pc. Is there a way to have the workflow I just described on PhpStorm, without downloading the whole server.
For downloading files and folders, PhpStorm supports only the manual mode. PhpStorm shows the logs in the File Transfer tool window ( View | Tool Windows | File Transfer ).
PhpStorm shows the logs in the File Transfer tool window ( View | Tool Windows | File Transfer ). In the Project tool window, right-click a file or folder, then select Deployment | Upload to from the context menu, and choose the target deployment server or server group from the list.
On the Choose Remote Path page of the wizard, select the folder and click on the toolbar or choose Project Root from the context menu. PhpStorm marks the selected folder with the icon. Under the project root, specify the folders that you do not need downloaded.
From the Upload changed files automatically to the default server list, choose when you want PhpStorm to upload changed files: To upload any manually or automatically saved file, choose Always. To upload only manually saved files, choose On explicit save action. To suppress automatic upload, choose Never.
There is uncompleted answer for that,
File > New Project from Existing file ... > web server ... via FTP/SFTP/FTPS.
Than fill the forms to the end, The local project on the left will be empty.
chose Tools > Deployment > Browse Remote Host.
This will show the Host files and folders on the right.
Double click
to open the file and Alt+Shift+Q
to upload it.
Why uncompleted answer? Because when you open multi files and edit some, you will not know which are edited and not uploaded from the unedited files.
-Phpstorm 2016.3.2
Add a File > New Project from Existing file ... > web server ... via FTP/SFTP/FTPS.
.
In the last screen, where you set the project root, select the correct folder as project root and also select it as exclude from download
Save your project and you're good to go. No download happens.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With