[ 
https://issues.apache.org/jira/browse/NIFI-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16077765#comment-16077765
 ] 

ASF GitHub Bot commented on NIFI-3281:
--------------------------------------

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

    https://github.com/apache/nifi/pull/1974#discussion_r126089245
  
    --- 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 --
    
    ``ListFileTransfer`` is only used for ``ListFTP`` and ``ListSFTP`` and they 
do not accept incoming flow files. There is no flow file to use when evaluating 
the property.


> 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)

Reply via email to