Skip to main content
Question

Deleting ffs file content


areyi
Contributor
Forum|alt.badge.img+3
  • Contributor

Hi together,

 

Is there a way to delete the content of a ffs file but not the file itself? I am using FME 2021.2.0.1.

 

Thanks for your support

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

So you just want a zero-byte .ffs file?


areyi
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • May 15, 2024

I want to delete the content of the file but keeping the names of attributes etc...


redgeographics
Celebrity
Forum|alt.badge.img+49

I don’t think that’s possible to be honest, the file is not being written if there’s no features.

So the follow-up question is: why do you want this? Maybe there’s another way to make this work for you.


areyi
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • May 15, 2024

Thanks for your response :)

 

If we have any entries in the ffs file, which serves as a dictionary, then the following workspace doesn’t write any objects. We need to clear the dict before the following workspace starts, as I understand the process.


joepk
Influencer
Forum|alt.badge.img+20
  • Influencer
  • May 15, 2024

Could it be possible to store an ffs file with 1 feature somewhere, where the feature itself can easily be filtered out after reading it? And then write to a different ffs.

Also, what's up with the bot, lol.


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