Speed up remote SFTP downloads (for WordPress/Moodle)

I do a lot of WordPress and Moodle development, and have just purchased PhpStorm

Downloads of remote servers via FTP takes a long time (not just in PhpStorm) - often many hours, yet I can gzip a site and have the same server on my PC in 3-4 minutes

Is there a plugin or method that speeds this up?

Also a quick question - if someone else edits the files on the server, will PhpStorm pick up the changes?

If the latter, I was thinking maybe I could just download the whole server myself and point PhpStorm to that directory when first setting up the remote server.

3 comments
Comment actions Permalink

Also - having gone back to PhpStorm, is there a "background download" method or way to run multiple PhpStorm apps? Seems crazy that I can't use PhpStorm for project A whilst I am downloading project B.

0
Comment actions Permalink

Hi there,

Downloads of remote servers via FTP takes a long time (not just in PhpStorm) - often many hours, yet I can gzip a site and have the same server on my PC in 3-4 minutes

Is there a plugin or method that speeds this up?

Unfortunately no.

Better gzip it yourself and download archive and then unpack locally.

Also a quick question - if someone else edits the files on the server, will PhpStorm pick up the changes?

It can check if file was modified just before uploading (and allow you to overwrite or cancel upload) -- then you can use "Synchronize with deployed..." and manually merge changes (to a local file .. which you can then upload to remote).

Such check will not be performed at random time -- only before uploading.

If the latter, I was thinking maybe I could just download the whole server myself and point PhpStorm to that directory when first setting up the remote server.

Not sure what you are asking here.

But yes -- you may download whole project to a local location and then just use "File | Open Directory..." (or just "Open..." from Welcome screen) and point to that folder (project root). Everything else you can setup later manually without any wizard.

Also - having gone back to PhpStorm, is there a "background download" method or way to run multiple PhpStorm apps? Seems crazy that I can't use PhpStorm for project A whilst I am downloading project B.

Sure -- you can even have multiple downloads/uploads in the same project. But that's only if you do not use dialog windows (e.g. Setup new project wizard).

My suggestion:

  • Create new empty local project
  • Configure the rest manually without any wizard:
    • Configure deployment entry and mark it as Default for this project.
    • Then you can use "Remote Host" tool window (or "Tools | Deployment | Browse Remote Host") to download your files to local location in background.


Yes, you may have more than one project opened at the same time -- they will be opened in separate windows ("frames" how they call it)

0
Comment actions Permalink

Many thanks for fast reply!

0

Please sign in to leave a comment.