# Downloading a Windows package HART file from builder

**URL:** <https://discourse.chef.io/t/downloading-a-windows-package-hart-file-from-builder/19345>\
**Category:** Habitat Help\
**Created:** [August 20, 2018, 3:03pm UTC](https://discourse.chef.io/t/downloading-a-windows-package-hart-file-from-builder/19345 "2018-08-20T15:03:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![baumanj](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/baumanj/32/2751_2.png) [@baumanj](https://discourse.chef.io/u/baumanj)\
**Post date:** [August 20, 2018, 3:03pm UTC](https://discourse.chef.io/t/downloading-a-windows-package-hart-file-from-builder/19345/1 "2018-08-20T15:03:50Z")

</div>

From the habislack, for the benefit of future users:

> Question about builder api download. When downloading a linux package attaching a `/download` will download the hart, but for windows packages adding a `/download` 404s. E.g `https://bldr.habitat.sh/v1/depot/pkgs/core/git/2.18.0/20180803232036/download` 404s but `https://bldr.habitat.sh/v1/depot/pkgs/core/git/2.18.0/20180806174821/download` will download the hart.

> Is there a different path for downloading windows hab packages?

---

<div class="post-metadata">

**Author:** ![baumanj](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/baumanj/32/2751_2.png) [@baumanj](https://discourse.chef.io/u/baumanj)\
**Post date:** [August 20, 2018, 3:32pm UTC](https://discourse.chef.io/t/downloading-a-windows-package-hart-file-from-builder/19345/2 "2018-08-20T15:32:57Z")

</div>

The user answered their own question thanks to the comment in [builder-api/src/depot/server.rs](https://github.com/habitat-sh/builder/blob/27f57dc5b7739df6e03c7fcf0977294f4a03a899/components/builder-api/src/depot/server.rs#L2295)

> applying a target in the query param of the download fixed this: `?target=x86_64-windows`
