Evgenii Legotckoi
Sept. 26, 2015, 7 a.m.

Configure FTP in PHPStorm for site editing

In the process of maintaining the site up to date and its development, any webmaster is faced with the fact that he needs to adjust the program code of the site, even if he sits closely on a CMS like Wordpress. Not a single template, not a single design theme can satisfy to the end, and soon a seasoned blogger begins to edit the site code. And here the question arises about the usability of the site. Manually copying files and backfilling them after editing is not the best way out. Therefore, the use of IDEs that can work with the site via FTP is a significant simplification of the webmaster.

One such IDE is PHPStorm from JetBrains. All that is required is to configure the connection to the site via FTP, when creating a project from existing code. After that, the IDE downloads content from the site that will be edited. Therefore, if you keep the site on any hosting, then enable the ability to connect via FTP, if of course hosting allows it. If it does not allow, then change the hosting provider.


Step-by-step project setup with FTP connection

Step one

Run PHPStorm and select the following item:

Create New Project from Existing Files

Second step

Select the project creation point according to the following scenario:

Web server is on remote host, file are accessible via FTP/SFTP/FTPS.

Third step

We configure the project name and the path to the local folder where the site will be located on your PC. Deployment options can be left as default.

Fourth step

At this step, you need to fill in the following fields:

  • Name - Project name
  • Type - Type of connection (combobox)
  • FTP host - website addresses on the Internet, or by IP address
  • Port - port in the TCP / IP protocol stack through which the connection will take place
  • Username - username that connects
  • Password - connecting user password
  • Web server root URL - Root Site URL

Fifth step

Choose only the folder that you will often edit. If you use CMS, then it makes sense to download only the theme. And downloading CMS files does not make sense, since you are unlikely to correct them.

Sixth step

In the last step, just click Finish

Seventh step

To use FTP, you need to configure connections through the firewall. To do this, enter the following command at a command prompt:

netsh advfirewall set global StatefulFTP disable

The command line must be run with administrator privileges.

Result

After setting up a project in PHPStorm to work via FTP, you will feel how your Webmaster’s life will become easier.

Do you like it? Share on social networks!

Comments

Only authorized users can post comments.
Please, Log in or Sign up
  • Last comments
  • AK
    April 1, 2025, 11:41 a.m.
    Добрый день. В данный момент работаю над проектом, где необходимо выводить звук из программы в определенное аудиоустройство (колонки, наушники, виртуальный кабель и т.д). Пишу на Qt5.12.12 поско…
  • Evgenii Legotckoi
    March 9, 2025, 9:02 p.m.
    К сожалению, я этого подсказать не могу, поскольку у меня нет необходимости в обходе блокировок и т.д. Поэтому я и не задавался решением этой проблемы. Ну выглядит так, что вам действитель…
  • VP
    March 9, 2025, 4:14 p.m.
    Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
  • ИМ
    Nov. 22, 2024, 9:51 p.m.
    Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
  • Evgenii Legotckoi
    Oct. 31, 2024, 11:37 p.m.
    Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup