# Zipping, xcopy then decompress onto a server

**URL:** https://www.finalbuilder.com/forums/t/zipping-xcopy-then-decompress-onto-a-server/553
**Category:** Discussion
**Created:** [August 8, 2007, 11:07am UTC](https://www.finalbuilder.com/forums/t/zipping-xcopy-then-decompress-onto-a-server/553 "2007-08-08T11:07:20Z")
**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: [August 8, 2007, 11:07am UTC](https://www.finalbuilder.com/forums/t/zipping-xcopy-then-decompress-onto-a-server/553/1 "2007-08-08T11:07:20Z")

</div>

Hi Guys,

We've been using daily for about a year to deploy our client websites.

One of our sites is about 400 MB in size and takes about an hour to build and upload.  
Our aim is to reduce that deploy time without adjusting end-point bandwidth.

One idea is to zip the contents before uploading, upload the zip file then decompress onto the target web server.

&nbsp;

Using FinalBuilder to compress locally and upload the zip file is no problem, but I need a clever way of automating the decompression of the zips into the right folders on the server. Does anyone have any suggestions for how I could do this through one instance of FinalBuilder?

&nbsp;

Thanks,

-Vijay

&nbsp;

&nbsp;

&nbsp;

---

<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: [August 8, 2007, 12:19pm UTC](https://www.finalbuilder.com/forums/t/zipping-xcopy-then-decompress-onto-a-server/553/2 "2007-08-08T12:19:23Z")

</div>

I’m guessing you could use PsExec (in the PsTools group) to spawn the process on the remote server and unzip it there.   
  
 Regards   
 Bjorn Ove Olafsen

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [August 9, 2007, 1:43am UTC](https://www.finalbuilder.com/forums/t/zipping-xcopy-then-decompress-onto-a-server/553/3 "2007-08-09T01:43:00Z")

</div>

Hi Vijay,   
  
 Bjorns’ suggestion is a good one. You could either spawn an FBCMD process to run a FinalBuilder project to do the remote deployment, or you could just run an unzipping tool.   
  
 Regards,   
  
 Angus

---

<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: [August 9, 2007, 3:47am UTC](https://www.finalbuilder.com/forums/t/zipping-xcopy-then-decompress-onto-a-server/553/4 "2007-08-09T03:47:32Z")

</div>

Thanks Guys!   
  
 Both ideas are great! I can’t wait to give it a go!

---

<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: [August 9, 2007, 8:57am UTC](https://www.finalbuilder.com/forums/t/zipping-xcopy-then-decompress-onto-a-server/553/5 "2007-08-09T08:57:24Z")

</div>

Thanks Guy! That worked perfectly.   
  
 I didn’t PsTools were so useful.   
  
 I seem to agree with every testimonial I see in these forums, I’d hate to count the number of hours FinalBuilder has saved us.

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [August 10, 2007, 1:18am UTC](https://www.finalbuilder.com/forums/t/zipping-xcopy-then-decompress-onto-a-server/553/6 "2007-08-10T01:18:19Z")

</div>

Hi Vijay,   
  
 Glad to hear it, and I’m extra glad you don’t have to count those hours. :).   
  
 - Angus
