# Create ZIP File ignores "Exclude Files"

**URL:** <https://www.finalbuilder.com/forums/t/create-zip-file-ignores-exclude-files/4639>\
**Category:** Bugs\
**Created:** [January 9, 2007, 2:46am UTC](https://www.finalbuilder.com/forums/t/create-zip-file-ignores-exclude-files/4639 "2007-01-09T02:46:27Z")\
**Posts on this page:** 6\
**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:** [January 9, 2007, 2:46am UTC](https://www.finalbuilder.com/forums/t/create-zip-file-ignores-exclude-files/4639/1 "2007-01-09T02:46:27Z")

</div>

Hi,I am trying to create a script that packs my source code, uploads it via ftp and updates my co-workers via e-mail.Generally speaking - it works - with the exception that it seems to be ignoring the “Exclude Files” option of the create zip - I want to avoid including the exe files, dcus, archives etc… - but it seems like they are always there.Any ideas if this is a real bug or if I am doing something wrong?

---

<div class="post-metadata">

**Author:** ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)\
**Post date:** [January 9, 2007, 4:05am UTC](https://www.finalbuilder.com/forums/t/create-zip-file-ignores-exclude-files/4639/2 "2007-01-09T04:05:20Z")

</div>

Hi Ron,  
  
I’m unable to reproduce the problem here. How are you specifying the files to exclude? There should be one file mask per line.  
  
Regards,  
Paul

---

<div class="post-metadata">

**Author:** ![rloewy](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/ea666f/32.png) [@rloewy](https://www.finalbuilder.com/forums/u/rloewy)\
**Post date:** [January 9, 2007, 5:40am UTC](https://www.finalbuilder.com/forums/t/create-zip-file-ignores-exclude-files/4639/3 "2007-01-09T05:40:45Z")

</div>

I think I am doing it all right. See the attachments for the action definition and the result that clearly shows that a \*.exe is created.

![zipaction1.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/d/d231d9fec416f035f2f3f04ec3108e7f20e40d14.jpeg)

![zipaction3.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/0/051ad3daa84e44f18009c9aec782375b3a290236.jpeg)

 ![zipresult1.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/3/3e48fe704faee16bad3ba8fb4433599d02957d1b.jpeg)

---

<div class="post-metadata">

**Author:** ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)\
**Post date:** [January 10, 2007, 4:03am UTC](https://www.finalbuilder.com/forums/t/create-zip-file-ignores-exclude-files/4639/4 "2007-01-10T04:03:56Z")

</div>

Hi Ron,  
  
Are you sure you’re not editing an existing zip file that already might have those other files in it?  
  
We haven’t been able to reproduce the problem here, so if you could send us (email to support) a little demo project that shows the behaviour then we should be able to track it down.  
  
cheers,  
tate.

---

<div class="post-metadata">

**Author:** ![rloewy](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/ea666f/32.png) [@rloewy](https://www.finalbuilder.com/forums/u/rloewy)\
**Post date:** [January 10, 2007, 4:15am UTC](https://www.finalbuilder.com/forums/t/create-zip-file-ignores-exclude-files/4639/5 "2007-01-10T04:15:33Z")

</div>

I am pretty sure this is the case - as I create the files once a day and even if I am delete the file and run just the specific action - the same behavior is displayed.  
  
I will prepare a small project and mail it tomorrow.

---

<div class="post-metadata">

**Author:** ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)\
**Post date:** [January 10, 2007, 6:21am UTC](https://www.finalbuilder.com/forums/t/create-zip-file-ignores-exclude-files/4639/6 "2007-01-10T06:21:13Z")

</div>

Hi Ron,  
  
Thanks for sending the test project. The cause of the problem is having a space after the excludes, just remove the space and it will properly exclude the file. We’ve put a fix in for future builds.  
  
Regards,  
Paul
