Created 02-22-2022 06:12 PM
Hello,
I have a situation where I have to get a new file every day at a specific time which is saved automatically on a specific folder on a remote server using GETSFTP Processor.
for example today there will be a file created on a remote server named 20220223.csv (23rd of Feb current date) . P.s I want to get only one file of the current date and I don't want to update my filename in the GETSFTP processor dynamically every day.
this is my try but it gets previous files too.
NOTE: Expression Language is not supported.
Created 02-22-2022 10:39 PM
@Mun ,
Instead of using the GetSFTP processor, you should use the pattern ListSFTP -> FetchSFTP.
The ListSFTP processor is stateful and will remember which files were already fetched before.
Cheers,
André