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

Koji Kawamura commented on NIFI-4179:
-------------------------------------

Hi [~vmaddela],

I hope I understand your need correctly.

I assume you mentioned DynamicProperties because you wanted to avoid setting a 
static exact configuration for FetchSFTP, instead you wanted a FetchSFTP 
instance to handle different SFTP servers and file paths. NiFi Expression 
Language can be used to realize these dynamic behavior.

I summarized how to use ListSFTP and FetchSFTP with NiFi Expression Language to 
fetch contents from SFTP servers by FetchSFTP dynamically in this [Gist 
page|https://gist.github.com/ijokarumawak/bf5705b70a75779d763f20cdb27d4162]. 

Lastly, please send a question to [NiFi Users Mailing 
List|https://nifi.apache.org/mailing_lists.html] to ask how to do certain 
things, before submitting a JIRA.

I'm now closing this JIRA, but please feel free to re-open it if something 
needs to be improved in NiFi. Thanks!

> Enabling existing Processor to support more features (GetFTP/GetSFTP) and 
> FetchFTP/FetchSFTO
> --------------------------------------------------------------------------------------------
>
>                 Key: NIFI-4179
>                 URL: https://issues.apache.org/jira/browse/NIFI-4179
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 1.3.0
>         Environment: Windows/Unix
>            Reporter: Vijaya Kumar Reddy Maddela
>              Labels: features
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Hi All,
> We are looking to have dynamic behavior for FTP/SFTP processors.
> 1)    GETFTP processor should be used only as starting point in a flow (Not 
> supported to use it in middle of the flow)
> 2)    FetchFTP: This supports using in middle of the flow, but doesnot 
> support to pass Dynamic properties
> When we look into code we identified reasons for not supporting
> In
> GetFTP/GetSFTP:
> @InputRequirement(Requirement.INPUT_FORBIDDEN) instead of 
> @InputRequirement(Requirement.INPUT_REQUIRED)
> FetchFTP/FetchSFTO:
> Doesn’t contain @DynamicProperties() in the code
> Can you please some help someone how can we build the code and deploy by our 
> self. Appreciate a link or tutorial for building code after modification



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to