Github user hemantha-kumara commented on a diff in the pull request:
https://github.com/apache/nifi/pull/3000#discussion_r219269231
--- Diff:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
---
@@ -236,6 +238,12 @@ public int select(final LsEntry entry) {
return LsEntrySelector.CONTINUE;
}
+ // if is a link and we're supposed to follow symlink
+ if (symlink && entry.getAttrs().isLink()) {
+ links.add(entry);
+ return LsEntrySelector.CONTINUE;
+ }
+
--- End diff --
Submitted changes with commit 52a3432e3b0ad379d63386e4c4b554db35b1e2a3
---