Skip to main content

I am creating a CSV file in a Featurewriter with a filename created as follows:-

litmap-@DateTimeFormat(@DateTimeNow(), %B-%d-%Y)

This is dropped into a directory on a fixed path

How can I pass this filename to the "File To Upload" parameter in the S3 uploader?

 

I've figured it out

@Value(_dataset)/litmap-@DateTimeFormat(@DateTimeNow(), %B-%d-%Y).csv


If you are just writing a single file in your Feature Writer you should be able to get the filepath like so from the summary port

@Value(_dataset)/@Value(_feature_type{0}.name).csv

@davebarter​  I created a video walkthrough on uploading data with the S3Connector. I hope this is helpful:

https://www.youtube.com/watch?v=ex5ZuO5Jg28


Reply