Skip to main content
Solved

CSV parameters reader


simeon.simic
Contributor
Forum|alt.badge.img+2

I have network based resource folder, that folder si on fme flow 
When file arrive in that folder, i need to write that file on other location, i just need help i don t know what parameter or what pointer should i send to my reader that it knows which file should write 

 

Best answer by j.botterill

So you want to read up on Merging / reading many datasets at once

https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Form/Workbench/Merging_Similar_Datasets.htm

Add CSV reader and click on the “Single Merged feature type”

Be sure to always go into reader parameters. NB. by automatic it will read each csv schema separately. So what I mean here is, you assume all csv’s have 5 columns named exactly as per the preview

If they are named something else, then you will need AttributeExposer followed by AttributeRenamer for example

 

View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

j.botterill
Influencer
Forum|alt.badge.img+36
  • Influencer
  • March 14, 2025

I would suggest using Form with creator and feature reader > Directory and File Path reader format

In the parameters of the reader, there is even a path filter to ensure only *.csv are read in. Then there will be output attributes like file_name and windows_path. Use the windows_path on the writer

Then in Flow you set up an automation with File * Directory watcher, then a run workspace, pointing it to the above Form workspace

https://support.safe.com/hc/en-us/articles/25407764152973-Run-a-Workspace-When-Data-Arrives-in-a-Directory


simeon.simic
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • March 14, 2025

I will try this and give back to you my results, thank you !


simeon.simic
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • March 17, 2025

My only question is how i get reader like this but instead of Shape reader, i want CSV reader
Because for this shape reader i dont have to enter source file to read, because flow tells it what file to read
I need exactly like that , just with CSV type 
 


simeon.simic
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • March 17, 2025

j.botterill
Influencer
Forum|alt.badge.img+36
  • Influencer
  • Best Answer
  • March 18, 2025

So you want to read up on Merging / reading many datasets at once

https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Form/Workbench/Merging_Similar_Datasets.htm

Add CSV reader and click on the “Single Merged feature type”

Be sure to always go into reader parameters. NB. by automatic it will read each csv schema separately. So what I mean here is, you assume all csv’s have 5 columns named exactly as per the preview

If they are named something else, then you will need AttributeExposer followed by AttributeRenamer for example

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings