Bug 168811 - Possibility to include/exclude files from remote file transfer
Possibility to include/exclude files from remote file transfer
Status: NEW
Product: php
Classification: Unclassified
Component: FTP Support
6.x
All All
: P3 with 18 votes (vote)
: TBD
Assigned To: Tomas Mysik
issues@php
:
: 167223 177390 194995 213388 258245 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-20 13:21 UTC by Filip Zamboj
Modified: 2017-09-27 09:10 UTC (History)
10 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Zamboj 2009-07-20 13:21:12 UTC
There is no possibility to exclude/include certain files from remote transfer. 

possible scenario is that somebody doesn't want to upload/download pictures, pdf files that may be large. One has to
uncheck them manually if manual download/upload at the first time or reconcile with upload at the time being.
Comment 1 Tomas Mysik 2010-03-04 13:30:31 UTC
*** Bug 167223 has been marked as a duplicate of this bug. ***
Comment 2 Filip Zamboj 2010-09-15 12:36:38 UTC
batch reassigning
Comment 3 Tomas Mysik 2011-06-03 11:04:39 UTC
*** Bug 194995 has been marked as a duplicate of this bug. ***
Comment 4 kaktus42 2012-04-08 17:38:10 UTC
something new?
+1
Comment 5 Tomas Mysik 2012-04-10 06:44:15 UTC
No, sorry. Increasing priority, I hope this could be done for the next version of NetBeans (after NB 7.2).
Comment 6 skler 2012-09-10 10:11:52 UTC
+1
Comment 7 TracKer 2013-03-14 10:30:12 UTC
Any news? NB 7.3 is already out...
Comment 8 imorozov 2013-03-14 11:33:39 UTC
+1
Comment 9 Dev_NIX 2013-04-17 11:00:52 UTC
+1000, this feature is a must have.
Comment 10 svierkant 2013-07-03 11:41:07 UTC
+1
Comment 11 svierkant 2013-07-03 12:41:22 UTC
*** Bug 177390 has been marked as a duplicate of this bug. ***
Comment 12 svierkant 2013-07-03 12:41:50 UTC
*** Bug 213388 has been marked as a duplicate of this bug. ***
Comment 13 jx12345 2013-10-12 09:01:58 UTC
+1 This would be really useful
Comment 14 Tomas Mysik 2013-10-14 07:22:00 UTC
Well, the biggest problem here where to define it in the UI :) The Run Configuration panel for Remote Web Site is pretty full even now :)

Any ideas?
Comment 15 tomzi 2013-10-14 09:57:48 UTC
Suggestion: Make it look the same then Subversion....
Comment 16 Tomas Mysik 2013-10-14 11:06:09 UTC
(In reply to tomzi from comment #15)
> Suggestion: Make it look the same then Subversion....

Not sure what you mean exactly, sorry. Could you please attach a screenshot with some description?

Thanks.
Comment 17 jx12345 2013-12-02 12:42:04 UTC
(In reply to Tomas Mysik from comment #14)
> Well, the biggest problem here where to define it in the UI :) The Run
> Configuration panel for Remote Web Site is pretty full even now :)
> 
> Any ideas?

Would it be possible to have in the popup menu when you right click a file or folder an option that toggles between 'include with uploads' / 'exclude from uploads' 

Perhaps any file or folder that is excluded from uploads would be denoted by a minor change to the file/folder.
Comment 18 dexx086 2013-12-09 15:51:22 UTC
First of all, big +1 for this feature!

Secondly, I guess jx12345 is talking about something else. This topic was started about avoiding/including transfers of specific files/folders from remote servers, not about including/excluding files/folders on upload. Or if I misunderstood you (by your 'include with uploads' / 'exclude from uploads'), then sorry.

I think the "Ignored folders" dialog in the project properties window is intended to do what this topic is about, but doesn't correctly does its job, or at least have something different in its basic workflow.

What I mean: in this dialog, I can define folders to be ignored, but folders are being added by their LOCAL pathes. I know it's stored as relative pathes (in the project.properties file), but the fact that these directories already must exists in local structure, makes it useless. Because, first you have to download the full structure, THEN you can select folders (local folders) to ignore from future transfers. Or, you can create folders manually and select them, but that's not the way the IDE should support it.

What I would think of as a solution: this dialog should be changed a bit, and should display (and store) ignored folders with their relative pathes, defined by regular expression! With regexp matches, it would give us a much finer control over files to be excluded.

On the other hand, it should allow to define "include" rules as well, because sometimes it's not managable to exclude everyhing else to keep only a few folders... These cases it's easier to define specific folders you want to include and ignore everything else. This way, you no need to worry that other folders gets uploaded to the server because no need to exclude them as well.

It's maybe overcomplicated how I wrote it, but generally Eclipse has a very good include/exclude rule system for file handling, maybe that would give us here a real solution. A quick sample overview about it: http://help.eclipse.org/juno/topic/org.eclipse.jst.j2ee.doc.user/images/validatefilters.jpg

Is it possible to have such a fine control for us? I would save a big managing time for large projects...

(In reply to jx12345 from comment #17)
> (In reply to Tomas Mysik from comment #14)
> > Well, the biggest problem here where to define it in the UI :) The Run
> > Configuration panel for Remote Web Site is pretty full even now :)
> > 
> > Any ideas?
> 
> Would it be possible to have in the popup menu when you right click a file
> or folder an option that toggles between 'include with uploads' / 'exclude
> from uploads' 
> 
> Perhaps any file or folder that is excluded from uploads would be denoted by
> a minor change to the file/folder.
Comment 19 jeffreymb 2015-02-12 19:28:48 UTC
+1 for this.
Comment 20 desertwaste 2015-04-27 14:07:27 UTC
+1

The new php application from remote server wizard needs a filter - what files to include/exclude
it has its place either in step 4 (confirmation), where the user selects which folders/files do include, or as a separate step before step 4.

it should use wildcards/regexps and should have inclusive/exclusive manner. 

additionally, these filters can be included in the remote synchronization function
Comment 21 desertwaste 2015-04-27 14:12:40 UTC
(In reply to Tomas Mysik from comment #14)
> Well, the biggest problem here where to define it in the UI :) The Run
> Configuration panel for Remote Web Site is pretty full even now :)
> 
> Any ideas?

as these filters affect initial download of the project source, their place is in the import wizard.

i have some ideas how this feature to be integrated in the UI, which i would eagerly discuss :)

the filters could be applied in the remote synchronization function as well, as it has the same scope as the initial import process
Comment 22 KenMcCollum 2015-10-15 14:03:51 UTC
This would be a great feature to have when working on wordpress so I could synchronise a plugin or theme without having to change core files (which contain different settings on localhost vs server). 

Perhaps there is a better way to organise wordpress projects I'm just not aware of it.
Comment 23 mariela21180 2016-01-05 14:25:07 UTC
+1 

This is a very important feature needed.

Specially for config files (for example, on WordPress, the wp-config file with the DB connection settings is changed every time I synchronize my remote files with my localhost and I have to manually revert it each time.)
Comment 24 heyjoe 2016-02-12 21:56:06 UTC
I would love to have this feature. Some web apps have thousands of files and I work with only a few locally. I really makes no sense to recreate the whole tree locally just to ignore it. This also makes unnecessary data propagating to local daily backup, and creates the need for complicated SVN excludes etc.
Comment 25 Tomas Mysik 2016-03-14 13:10:33 UTC
*** Bug 258245 has been marked as a duplicate of this bug. ***
Comment 26 pachat 2016-08-10 09:23:17 UTC
+1 : I need to exclude the config file of my CMS
Comment 27 pachat 2016-08-10 09:26:07 UTC
and the cache, tmp, etc. folders
Comment 28 TexasBeans 2016-12-12 19:44:39 UTC
I strongly support this feature for many reasons and want to be able to exclude files as well as a whole folder.  NetBeans insists that if a file or folder is in the project it must be uploaded but that is not true.  Most projects  have source (src) and distribute (dist) folders where src is where you keep all your sources and hence contains lots of stuff that won't get uploaded to the site.  The sources are compiled/processed and end up in the dist folder.  No matter what your organization structure you can't keep the source file outside of the project since NetBeans won't let you work with them and if you add the folder to ignored you can't use it at all.  Netbeans needs to let us mark folders AND files as Do NOT Upload! and/or mark folders AND files as exclude but let us use them in the project including with automation such as Gulp, etc. 

NetBeans is a really nice IDE but this issues needs to be addressed.  I see this started with version 6.x and we are now at 8.2 with no movement and based on the results of searches for how to do this (you can't) it's wanted by a lot of people.

From the comments below the issue seems to be where to put it.  I agree with a right click menu as well as in the Run configuration for the project.

I'm posting on this but since the but 167223 which is more appropriate to my desire is marked as a duplicate and has not been updated since 2013.
Comment 29 dsgn 2017-02-08 18:06:10 UTC
Why not simply rely on some format like https://git-scm.com/docs/gitignore ?
Can't believe such trivial feature is unsolved since nearly eight years.
Comment 30 heyjoe 2017-02-08 18:10:59 UTC
It seems the only possible way to exclude remote files is to exclude them locally too. For example SCSS directory doesn't need to reside on the server. However excluding it locally hides it from the project completely and makes it impossible to work with, version it and so on.

Please developers, help your fellow developers :)
Comment 31 UrsusArctos 2017-03-29 14:04:47 UTC
+1 : I'd like to exclude composer's vendor directory. And even all in .gitignore
I do not even need interface for this - nbproject/.uploadignore just like .gitignore would be fine.
Comment 32 heyjoe 2017-03-29 15:45:19 UTC
Reported: 2009 in version 6.x

Today is 2017 and version 8.x

The assignee showed last activity 1 year ago.

Will this ever happen?
Comment 33 jovdd 2017-05-05 06:34:49 UTC
I agree. I'm moving from phpED to Netbeans. But this is the functionality I miss most. I have applications that collect 100's of files an hour (elec. counters), but I do not want to sync those! Ignore files is not an option.
Comment 34 ZakladWebdeweloperski 2017-09-27 09:10:40 UTC
Can't believe this still is not implemented. It would be very useful option.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo