Home >Development Tools >phpstorm >How to connect ftp with phpstorm

How to connect ftp with phpstorm

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-14 10:50:045859browse

How to connect ftp with phpstorm

1. Open the toolbar "Tools"-"Deployment"-"Brower Remote Host".

2. You can see a "Remote Host" area on the right side of the window. Click on the three small buttons to create a new service.

3. Fill in your FTP information. After filling in, you can click "Test FTP Connection" to test whether the connection is successful.

Related recommendations: "PhpStorm Usage Tutorial"

4. At this step, you can basically complete the remote dynamic modification of the FTP project. After connecting, it will be on the right side of the window by default, and you can drag it directly to the left. This looks like you are modifying a local project. There is a submit button in the upper right corner of the editing area, and you can also use shortcut keys. If you want to download to local, please read below

5. If you want to download to local. Click the "Advanced options" button in the previous picture, the following dialog box will pop up, check the "Passive mode" passive mode.

6. Next, click "Mappings" and select the place where the cache is mapped to the local computer when you download the server file.

7. Right-click on the file name and select "Upload here" to download it locally. It will be downloaded to the location you mapped.

8. Finally, you can even open "VCS"-"Local History"-"Show History" on the menu bar. You will see that the local repository not only saves the last modifications for you, but also It has a record of every modification you make to the file. The left column shows the modification time, the middle shows the modification place, and the right side shows the current file appearance, so you no longer have to worry about making the wrong modification and not being able to go back to the previous one. steps.

The above is the detailed content of How to connect ftp with phpstorm. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn