Github user adyoun2 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/3033#discussion_r226305582
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetFile.java
 ---
    @@ -270,6 +280,9 @@ private FileFilter createFileFilter(final 
ProcessContext context) {
             return new FileFilter() {
                 @Override
                 public boolean accept(final File file) {
    +                if (file.isDirectory()) {
    +                    return false;
    --- End diff --
    
    If you look at the performListing, the filter is applied after the walk, 
with no feedback mechanism, so the additional filter just prevents Directories 
being returned as entities for GetFile to process.


---

Reply via email to