Re: datetime argument to the GetSFTP processor

2016-04-21 Thread Ashraf Hasson
. Further down in GetSFTP, I had to specify ${path}/${filename} to fetch the file. Best regards, From: Pierre Villard <pierre.villard...@gmail.com> Sent: April 21, 2016 1:18 PM To: users@nifi.apache.org Subject: Re: datetime argument to the GetSFTP process

Re: datetime argument to the GetSFTP processor

2016-04-21 Thread Pierre Villard
__ > From: Ashraf Hasson > Sent: April 21, 2016 12:50 PM > To: users@nifi.apache.org > Subject: Re: datetime argument to the GetSFTP processor > > Hi James, > > Thanks for your reply. > The source has multiple files generated per day and

Re: datetime argument to the GetSFTP processor

2016-04-21 Thread Joe Witt
but I'd highly appreciate some help. > > Thanks, > > > From: Ashraf Hasson > Sent: April 21, 2016 12:50 PM > To: users@nifi.apache.org > Subject: Re: datetime argument to the GetSFTP processor > > Hi James, > > Thanks for your reply. > The source h

Re: datetime argument to the GetSFTP processor

2016-04-21 Thread Joe Witt
___ > From: Joe Witt <joe.w...@gmail.com> > Sent: April 15, 2016 1:35 PM > To: users@nifi.apache.org > Subject: Re: datetime argument to the GetSFTP processor > > Ahh - great idea James! > > On Fri, Apr 15, 2016 at 1:34 PM, James Wing <jvw...@gmail.com> wrote:

Re: datetime argument to the GetSFTP processor

2016-04-21 Thread Ashraf Hasson
g because FetchSFTP doesn't do globing. Thanks, From: Joe Witt <joe.w...@gmail.com> Sent: April 15, 2016 1:35 PM To: users@nifi.apache.org Subject: Re: datetime argument to the GetSFTP processor Ahh - great idea James! On Fri, Apr 15, 2016 at 1:34 PM,

Re: datetime argument to the GetSFTP processor

2016-04-21 Thread Ashraf Hasson
o globing. Thanks, From: Joe Witt <joe.w...@gmail.com> Sent: April 15, 2016 1:35 PM To: users@nifi.apache.org Subject: Re: datetime argument to the GetSFTP processor Ahh - great idea James! On Fri, Apr 15, 2016 at 1:34 PM, James Wing <jvw..

Re: datetime argument to the GetSFTP processor

2016-04-15 Thread Joe Witt
Ahh - great idea James! On Fri, Apr 15, 2016 at 1:34 PM, James Wing wrote: > Have you looked at a combination of ListSFTP -> FetchSFTP? I believe > ListSFTP has built-in support for tracking recent files, and it might > satisfy your use case. If not, you can certainly filter

Re: datetime argument to the GetSFTP processor

2016-04-15 Thread James Wing
Have you looked at a combination of ListSFTP -> FetchSFTP? I believe ListSFTP has built-in support for tracking recent files, and it might satisfy your use case. If not, you can certainly filter the listed files by the "filename" attribute before calling FetchSFTP. On Fri, Apr 15, 2016 at 7:40

datetime argument to the GetSFTP processor

2016-04-15 Thread Ashraf Hasson
Hi there, I've been trying to use the GetSFTP processor to fetch files that have a 'mmdd' part but the only option I have is to use Java Regular Expression, not sure how to specify today or yesterday's date dynamically. I thought an alternative is to use a locally generated file that