[
https://issues.apache.org/jira/browse/NIFI-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16077456#comment-16077456
]
ASF GitHub Bot commented on NIFI-3281:
--------------------------------------
Github user ijokarumawak commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1974#discussion_r126052545
--- Diff:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ListFileTransfer.java
---
@@ -94,7 94,7 @@
@Override
protected String getPath(final ProcessContext context) {
- return context.getProperty(REMOTE_PATH).getValue();
return
context.getProperty(REMOTE_PATH).evaluateAttributeExpressions().getValue();
--- End diff --
I think we should pass FlowFile to evaluate EL for REMOTE_PATH, too.
> Error on passing 'ftp.listing.user' from ListFTP to FetchSFTP
> -------------------------------------------------------------
>
> Key: NIFI-3281
> URL: https://issues.apache.org/jira/browse/NIFI-3281
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.1.1
> Reporter: Jakhongir Ashrapov
> Assignee: Pierre Villard
> Priority: Minor
>
> Cannot get `ftp.listing.user` as EL in FetchFTP when listing files with
> ListFTP. Following exception is thrown:
> IOException: Could not login for user ''
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)