Forum Discussion
Hi @sathishmadavali,
One way to filter only today’s files is to browse the S3 Bucket using the S3 Browser and after that to use a Filter Snap with the following expression:
Date.parse($lastModified) >= Date.parse(Date.now().toLocaleDateString())
If your file pool in S3 is growing at increasing rate you might consider another approach.
Let me know if this helps you.
BR,
Aleksandar.
Hi,
@AleksandarAngelevski , the output of the filter snap is in csv format, by using which snap we can read the csv data .after getting the today file.
thanking you
m sathish
- Aleksandar_A3 years agoContributor III
Hi @sathishmadavali,
If you are using the S3 Browser Snap then the output is as in the picture below:
You will have to use the File Reader Snap with the appropriate S3 Account and you will need to pass the Path value from the Filter Upstream.
File Reader Snap:
Let me know if this helps.
BR,
Aleksandar.- sathishmadavali3 years agoNew Contributor II
@AleksandarAngelevski
Thanking you- sathishmadavali3 years agoNew Contributor II
Hi,
how to browse before 2 days file?, its mean today is 14 june ,i want to browse12 june files