# Push a file to a windows host

**URL:** <https://forum.ansible.com/t/push-a-file-to-a-windows-host/16295>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [September 22, 2014, 3:40am UTC](https://forum.ansible.com/t/push-a-file-to-a-windows-host/16295 "2014-09-22T03:40:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimr6007](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@jimr6007](https://forum.ansible.com/u/jimr6007)\
**Post date:** [September 22, 2014, 3:40am UTC](https://forum.ansible.com/t/push-a-file-to-a-windows-host/16295/1 "2014-09-22T03:40:14Z")

</div>

I’d like to push an msi file to my windows hosts and then install using the win\_msi module. How to get the file to the windows hosts? Sorry for not asking a more detailed question, I’m pretty much stumped…

Can someone point me in the right direction?

Thanks !

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [September 22, 2014, 12:12pm UTC](https://forum.ansible.com/t/push-a-file-to-a-windows-host/16295/2 "2014-09-22T12:12:05Z")

</div>

There is currently not a win\_copy (although there is a pull request)

You could use something like win\_get\_url to retrieve the file from an http location.
