# Move File(s) - Network location does not fail

**URL:** https://www.finalbuilder.com/forums/t/move-file-s-network-location-does-not-fail/4453
**Category:** Discussion
**Created:** [September 15, 2010, 9:47am UTC](https://www.finalbuilder.com/forums/t/move-file-s-network-location-does-not-fail/4453 "2010-09-15T09:47:43Z")
**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 15, 2010, 9:47am UTC](https://www.finalbuilder.com/forums/t/move-file-s-network-location-does-not-fail/4453/1 "2010-09-15T09:47:43Z")

</div>

I&nbsp;need to&nbsp;move a bunch of files from a network location (source)&nbsp;\\192.168.0.4\c$\SomeFolder\*&nbsp;to some other location at regular intervals.

Using the "Move File" action, the problem is that if the (source)&nbsp;location is available everything is good but if (source)&nbsp;location is not available it still continues with "0 files moved"&nbsp;without any errors. Is there a way to raise an error if that location is not available at the time?&nbsp;

I&nbsp;noticed the same issue also exists for Copy File(s)&nbsp;action.

Thanks

---

<div class="post-metadata">

### Author: ![stephen.ryan](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@stephen.ryan](https://www.finalbuilder.com/forums/u/stephen.ryan)
#### Post date: [September 16, 2010, 12:36pm UTC](https://www.finalbuilder.com/forums/t/move-file-s-network-location-does-not-fail/4453/2 "2010-09-16T12:36:34Z")

</div>

Hi   
  
 If you enable the ‘Fail if Zero Files Moved’ option, the Move action will fail in this scenario (the Copy action has the equivalent option). Alternatively you can use the ‘If File/Folder Exists’ action to check whether the source location is available before attempting to move files.   
  
 Regards,   
 Steve

---

<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 16, 2010, 4:03am UTC](https://www.finalbuilder.com/forums/t/move-file-s-network-location-does-not-fail/4453/3 "2010-09-16T04:03:18Z")

</div>

The 'If File/Folder Exists' option worked well.

I&nbsp;can't use 'Fail if Zero Files Moved' because network location may be available but there could be just no files to move. I don't want it to fail in that case. I&nbsp;only needed it to fail if network location wasent availabe (files to move&nbsp;could be zero or 1, 2, 3, x).

Thanks
