Skip to main content
Question

read all files in directory


Forum|alt.badge.img

Hi ,

I need to do a conversion between 2 formats with many files in several directories ,how can I define that output directory =input directory

3 replies

ebygomm
Influencer
Forum|alt.badge.img+40
  • Influencer
  • April 30, 2020

What formats are you converting between? The answer may differ slightly depending on whether you are reading file based or folder based datasets


Forum|alt.badge.img
  • Author
  • April 30, 2020

3ds to collada


mark2atsafe
Safer
Forum|alt.badge.img+51
  • Safer
  • April 30, 2020

This will probably help: https://knowledge.safe.com/questions/29907/write-the-result-on-the-same-folder-as-the-input.html

What you need to do is find the source directory (it is stored as an "FME Attribute" called "fme_dataset"). Then you use that in a fanout on the output. I'm not totally sure about collada. You may follow the instructions there to set the feature type name; otherwise it might need a fanout on the writer (look for the fanout setting in the Navigator window)


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