Webstorm/phpstorm set up the connection FTP, and quickly file comparison, upload download, synchronization and other operations

Source: Internet
Author: User
Tags ftp connection

Phpstorm In addition to directly open the localhost file, you can also connect FTP, in addition to complete the normal data transfer tasks, but also to the local file and server-side file comparison, the same file automatically match the directory upload, download, these features are normal IDE, An operation that is rare in FTP software and is very time-consuming to work with. In other words, working with FTP in Webstorm/phpstorm can find the original version control feeling. The only drawback is: Upload, download the open link to a little time, suitable for the scene is a single file editing, this if the speed is fast enough generally can be ignored, and on the personal experience, although the speed of the link is slightly slow, transmission speed is not slow.

1. Settings: There are two places to set up the entrance,

A. tools->deployment->configruation

B. file->settings->deployment->configruation

Click the upper left-hand corner plus a new FTP service connection and configure the FTP host,username,pwd, after configuration, you can test the FTP connection FTP connection success. Then click the root path three point, if there is FTP server directory read out, it is no problem, if not read, then in the following advanced options choose Passive Mode (passive mode). Then fill in the Web server root URL with the domain name information or a free three-level domain name from the space provider. Then, in mappings, select the mapping directory for local, publish, or Web paths respectively.

2. Export:

In the project file connected with FTP Right-click to find deployment, there are four options (this option can only be displayed if the connection is successful):

1). Upload to ... Upload to Server

2). Download from ... Pull from the service side

3). Compare with Deployed Version on ... Compare local to server version

4). Sync with Deployed ... The comparison can also be done directly. (The difference between the 3,4 is that 3 can only browse and not operate, 4 can operate).

3. Display expansion panel Tools->deployment->configruation->browse Remote Host

After successful opening:

Open for easy editing of the file, you can do this:

4. Quick action

A. You can add the appropriate shortcut key action in the Keymap.

B. You can add common icons on toolbar to facilitate operation, in order to prevent misoperation, it is advisable to have an isolated icon between the action icons, although misoperation can be retrieved using local history, but the productivity may be reduced.

In addition to providing a local history in addition to version control, many times saved me from the brink of life and death:

Right-click localhost history--Show history

Pub label is a name record for the current history

Extended reading:

Phpstorm Configure local localhost path mode to open Http://hi.baidu.com/lhaix/item/80f001c4078594c6984aa03e?qq-pf-to=pcqq.group

Webstorm/phpstorm set up the connection FTP, and quickly file comparison, upload download, synchronization and other operations

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.