It's all about
connecting the dots

Use IntelliJ IDEA to Deploy Project through SFTP

Sublime Text is a good editor. It’s lightweight and quite responsive. However, while compared with IDE like IntelliJ IDEA, there are still some shortcomings.

Several months ago, when I want to upload my frontend files to the online server, I need to open a local FTP/SFTP client and then upload files. This is not a fussy thing is you only do it in a low frequency. But when you need to do it in a high frequency, it certainly becomes fussy. With the help of IntelliJ IDEA, things can be much simpler. When you want to upload some files, you don’t need to leave your editor (IDE), you just stay on it and right click your mouse on the target file or folder, and you will find target menu like “upload to”.

Of course, IDE doesn’t know where you want to upload your files to. So a little configuration working is necessary.

Tools -> Deployment -> Configuration… -> “+” to add server. Then is the detail to fill. Here is an SFTP example.


SFTP host:

Port: 22

Root path: /usr/local/apache-tomcat-7.0.20/webapps/picWorkTest/

User name: root

Auth type: Password

Password: xxxxxx


Local path: C:\Users\Yakima Teng\Documents\wxtl-projects\CarInsurance-wechat\src\main\webapp\static\timecloud-refactor\hunansong

Deployment path on server ‘’: /vehicleDemoNew

Web path on server ‘’: /

Excluded Paths:


赞(0) 打赏
文章名称:《Use IntelliJ IDEA to Deploy Project through SFTP》

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址