Mahmoud Zalt
Mahmoud Zalt

Reputation: 31130

How to keep SFTP connection alive with PHPStorm?

I use PHPStorm to upload my files into my development server (using SFTP), every time I save.

The problem is PHPStorm do log-in to the server, before every attempt to upload (after every save), which causes a delay of about 5 seconds.

This is really annoying and time consuming, when you (save) upload files at least 4 times in a minute.

Is there anyway to keep PHPStorm connected to my server, so it just takes time to upload files (instead of logging in every single time).

I want to it to login once and keep uploading every time I press save.

Upvotes: 0

Views: 1544

Answers (1)

Mahmoud Zalt
Mahmoud Zalt

Reputation: 31130

After trying many things and reading all the comments from the link sent by @LazyOne I found it possible with this simple trick:

Tools -> Deployment -> Browse Remote Host

Just keep this tab away, no need to use it. It will keep the connection alive, but it still disconnect from time to time. (still better than nothing).

Upvotes: 3

Related Questions