Webstorm/phpstorm Set FTP

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 delivery tasks, but also the local file and service-side files of similarities and differences, the same file automatically matching directory upload, download, these features are normal IDE, It is rare in FTP software and is an operation that consumes a lot of work time. In other words, operating ftp in Webstorm/phpstorm can find the original version control feeling. The only disadvantage is: Upload, download the open link to a little time-consuming, suitable for the scene is a single file editor, this if the speed is fast enough generally can be ignored, and on personal experience, although the link speed is slightly slower, transmission speed is not slow.

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

A. tools->deployment->configruation

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

Click on the upper left corner of the plus add an FTP service connection and then configure the FTP host,username,pwd information, after the configuration, you can test FTP connection whether the connection succeeded. Then click the root path three point, if there is an FTP server directory read out, then there is no problem, if not read out, then in the advanced options below Select Passive Mode (passive). Then fill in the domain name information in the Web server root URL or the free level three domain name provided by the space provider. Then select the mapping directory in mappings for local, publish, or Web paths respectively.

2. Export:

Deployment can be found on the project file with the FTP connection, with four options (this option will not be displayed until the connection succeeds):

1). Upload to ... Uploading to the service side

2). Download from ... Pull from service end

3). Compare with deployed Version on ... The local version is compared to the server-side version

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

3. display extension panel Tools->deployment->configruation->browse Remote host

After successful opening:

The purpose of the opening is to facilitate editing of the file, which can be done by:

4. Quick operation

A. You can add the corresponding shortcut key operation in Keymap.

B. You can add commonly used icons on the toolbar to facilitate operation, in order to prevent misoperation, the proposed operation of the icon between the best of the isolation icon, although the misoperation can be used to retrieve the local historical records, but the efficiency may be reduced.

In addition to the version control of a local history record, many times to save me on the brink of death:

Right-click-> localhost history-> show history

Pub label is a name record for the current history

Extended reading:

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

Finally, this function should be on the line of Jerbrains series products, such as: Intelij Idea (Javaer), Pycharm (Pyer) and so on.

The screenshot tool used in the article:

ashampoosnap,gifcam2.0 Green version of the Chinese

Baidu Download Password: 2p86

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.