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

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_r126053317
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/FileTransfer.java
 ---
    @@ -39,6  39,8 @@
     
         void flush() throws IOException;
     
         boolean flush(FlowFile flowFile) throws IOException;
    --- End diff --
    
    Similar to `flush()`, other methods those use `getClient` (in FTPTransfer) 
or `getChannel` (in SFTPTransfer) should pass incoming FlowFile in order to 
evaluate EL properly. 
[NIFI-3590](https://issues.apache.org/jira/browse/NIFI-3590) is essentially the 
same to NIFI-3281 which is caused by not passing FlowFile.
    
    Do we want to address it, too? Ideally, the codes `getClient(null)` and 
`getChannel(null)` should be removed completely.


> 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