Skip to main content
Archived

'Overwrite existing file' parameter - ignore if file does not exist

Related products:Integrations
danilo_fme
scottpool
  • danilo_fme
    danilo_fme
  • scottpool
    scottpool

chriswilson
Supporter

I have a workspace in which I would like to overwrite an existing Excel spreadsheet if it exists - it might or it might not depending on other things. If I leave 'overwrite existing file' set to 'yes', the workspace will fail when it doesn't find an existing spreadsheet. This also happens with file geodatabases.

Perhaps a setting of 'yes - if existing' could be added?

<strong>This post is closed to further activity.</strong><br /> It may be a question with a best answer, an implemented idea, or just a post needing no comment.<br /> If you have a follow-up or related question, please <a href="https://community.safe.com/topic/new">post a new question or idea</a>.<br /> If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Evangelist
  • August 15, 2017

Hi @chrisw84, in my experiences, the Excel writer (at least in FME 2016 and 2017) seems to create a new file successfully if it doesn't exist, even if the Overwrite Existing File parameter is set to "Yes".

With what conditions did the writer fail?


chriswilson
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • August 15, 2017

Hi @takashi. Any time I have this set to 'yes' and a file does not exist, the process fails citing that it cannot overwrite the destination file. I will have a look and see if I have a log file with this info, but in FME 2016 at least it always fails for me.


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