Project download from remote host - filtering files

Hi there,

I'm downloading a project from a remote host, to start testing WebStorm. The remote host also contains a bunch of ZIP files, which I really don't want to download (each is huge, over 80MB in size).

How can I keep WebStorm from downloading ZIPs and JPGs when downloading the remote project? I just want the code.

0
Avatar
Permanently deleted user

Hi Erez,

Please select 'Custom deployment options' at Specify Local Path wizard page (it's the last one), and add corresponding file mask to the 'Exclude items by name' field.

Regards,
Kirill

0
Avatar
Permanently deleted user

Thanks! Is there a way for me to cancel the download, change this setting, and then start the download again (without the file types I don't want to grab)?

0
Avatar
Permanently deleted user

Well, you need to cancel download and start over with the wizard (Main menu: File | Create project from existing files).

0
Avatar
Permanently deleted user

Alright, thank you.

Now, when I click the Cancel button, the IDE takes up to 5-10 minutes to respond and close the dialog. Any idea whu that may be? Is it a problem on my side, or just because it's in the middle of downloading a large file and won't stop?

(I'm reveiwing the app for an online publication, hence my many questions. Many thanks for your prompt replies! Much appreciated)

0
Avatar
Permanently deleted user

Yep, currently IDE won't cancel in the middle of large file. Here's a bugreport for that: http://youtrack.jetbrains.net/issue/WI-801. We're going to fix it for next versions.

0
Avatar
Permanently deleted user

Many thanks, Kirill. Have now started my project again (for the fourth time), hoping it would download correctly now.

Next question: Is there a way to not download certain subfolders? Let's say my project (on the FTP server) has a subfolder called "images" that I just don't want to get. Can I exclude that one folder? Or is my only option excluding *.jpg (in this case)?

Best,
Erez

0
Avatar
Permanently deleted user

As for PhpStorm 2.1.x, you have to add  *.jpg as exclusion. Starting with the first build of PhpStorm 3.0 you will have all the means to configure download/excluded roots.

0
Avatar
Permanently deleted user

Thanks Kirill, and thanks for the fast answer again! I really appreciate your help!

0

请先登录再写评论。