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.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to