# Add a proper If-File-Exists condition IF-BLOCK

**URL:** https://www.finalbuilder.com/forums/t/add-a-proper-if-file-exists-condition-if-block/4109
**Category:** Feature Requests
**Created:** [September 9, 2010, 10:52am UTC](https://www.finalbuilder.com/forums/t/add-a-proper-if-file-exists-condition-if-block/4109 "2010-09-09T10:52:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 9, 2010, 10:52am UTC](https://www.finalbuilder.com/forums/t/add-a-proper-if-file-exists-condition-if-block/4109/1 "2010-09-09T10:52:46Z")

</div>

At the moment I always have to combine the "If File/Folder Exists" action with an "If Prev Action Failed" Block to conditionally exectue a code path depending on the existance of some file. (And to keep it short it's illogical to have the exists-check fail when I want to execute the following code).

So: What we really need is a proper "If file/folder Exists" conditonal block and rename the old one to "Check file/folder Exists" as this is what it does.

Talking of which:&nbsp;an "If Prev Action Succeeded" Block would also be nice.

cheers,  
Martin

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 9, 2010, 11:04am UTC](https://www.finalbuilder.com/forums/t/add-a-proper-if-file-exists-condition-if-block/4109/2 "2010-09-09T11:04:06Z")

</div>

Ah. Workaround is to   
 \* Set the action to [FAil if missing]   
 \* Check “Ignore Failure”   
 \* And just add the stuff you want conditionally executed as children to the check-file action.   
  
 Still - I think it would be much better if we had an action that doesn’t rely on activating “Ignore Failure” to perform its normal operation.

---

<div class="post-metadata">

### Author: ![nelsonwolf](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/b9e5f3/32.png) [@nelsonwolf](https://www.finalbuilder.com/forums/u/nelsonwolf)
#### Post date: [September 13, 2010, 5:54am UTC](https://www.finalbuilder.com/forums/t/add-a-proper-if-file-exists-condition-if-block/4109/3 "2010-09-13T05:54:03Z")

</div>

+1
