# Defined fileset prevents file from being moved (bug?)

**URL:** <https://www.finalbuilder.com/forums/t/defined-fileset-prevents-file-from-being-moved-bug/4509>\
**Category:** Discussion\
**Created:** [February 23, 2012, 2:35am UTC](https://www.finalbuilder.com/forums/t/defined-fileset-prevents-file-from-being-moved-bug/4509 "2012-02-23T02:35:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgockel](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/ea5d25/32.png) [@cgockel](https://www.finalbuilder.com/forums/u/cgockel)\
**Post date:** [February 23, 2012, 2:35am UTC](https://www.finalbuilder.com/forums/t/defined-fileset-prevents-file-from-being-moved-bug/4509/1 "2012-02-23T02:35:12Z")

</div>

Hi,

I defined a fileset (include pattern: \*.txt, exclude pattern: ready.txt) and moved the files found. Everything is fine. In the next step I tried to move (action: move file(s)) the file "ready.txt".&nbsp;Doing this I get an error: "win 32: access denied". If I include the ready.txt into the fileset moving the file is possible. But it is important not to move the ready.txt before the other files are moved.

Edit: It seems that it doesn't matter if I use the fileset. The error occurs even if I disable the fileset-actions and just move the ready.txt. It only works if I include the ready.txt into the fileset. Then I tried to move the ready.txt using another fileset. That worked.

Is there anybody who has any suggestions how to solve this problem? To include all the files that have to be moved is no solution (too many files).

Or is it a bug that will be fixed?

Thanks

HHK

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [February 24, 2012, 1:10am UTC](https://www.finalbuilder.com/forums/t/defined-fileset-prevents-file-from-being-moved-bug/4509/2 "2012-02-24T01:10:35Z")

</div>

Hi   
  
 I’m not able to reproduce this here. Can you send us a sample project that demonstrates this error?

---

<div class="post-metadata">

**Author:** ![cgockel](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/ea5d25/32.png) [@cgockel](https://www.finalbuilder.com/forums/u/cgockel)\
**Post date:** [February 27, 2012, 1:16am UTC](https://www.finalbuilder.com/forums/t/defined-fileset-prevents-file-from-being-moved-bug/4509/3 "2012-02-27T01:16:34Z")

</div>

Hi,

you'll find a really simple example in the zip-file. I just created two subdirectories (\data and \data\bck) in the projectdir. In directory \data\bck I created some empty files 1.txt ... 4.txt and the file ready.txt. Executing the project leads to an error while moving ready.txt.

HHK

---

<div class="post-metadata">

**Author:** ![cgockel](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/ea5d25/32.png) [@cgockel](https://www.finalbuilder.com/forums/u/cgockel)\
**Post date:** [November 21, 2012, 9:27am UTC](https://www.finalbuilder.com/forums/t/defined-fileset-prevents-file-from-being-moved-bug/4509/4 "2012-11-21T09:27:47Z")

</div>

Hi,

are there any news to this? This problem persists in my actual script.

HHK

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [November 21, 2012, 9:39am UTC](https://www.finalbuilder.com/forums/t/defined-fileset-prevents-file-from-being-moved-bug/4509/5 "2012-11-21T09:39:54Z")

</div>

Did you send us an example? Attachments are currently not working properly on the forums so I cannot tell if you attached a file or not? If you send the example to [support@automise.com](mailto:support@automise.com) I will take a look.

---

<div class="post-metadata">

**Author:** ![cgockel](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/ea5d25/32.png) [@cgockel](https://www.finalbuilder.com/forums/u/cgockel)\
**Post date:** [December 20, 2012, 2:47am UTC](https://www.finalbuilder.com/forums/t/defined-fileset-prevents-file-from-being-moved-bug/4509/6 "2012-12-20T02:47:32Z")

</div>

I just sent an actual example to the specified address.
