# error when copying local file to remote server

**URL:** <https://forum.ansible.com/t/error-when-copying-local-file-to-remote-server/12708>\
**Category:** Ansible Project\
**Created:** [April 22, 2013, 12:08pm UTC](https://forum.ansible.com/t/error-when-copying-local-file-to-remote-server/12708 "2013-04-22T12:08:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Clifford\_Sanders](https://avatars.discourse-cdn.com/v4/letter/c/3be4f8/32.png) [@Clifford\_Sanders](https://forum.ansible.com/u/Clifford_Sanders)\
**Post date:** [April 22, 2013, 12:08pm UTC](https://forum.ansible.com/t/error-when-copying-local-file-to-remote-server/12708/1 "2013-04-22T12:08:32Z")

</div>

Hi all,

I just want to copy a local file to a remote server using the copy module but get this error:  
“msg: src (or content) and dest are required”

upload\_file.yml:

---

<div class="post-metadata">

**Author:** ![Serge\_van\_Ginderacht](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Post date:** [April 22, 2013, 12:14pm UTC](https://forum.ansible.com/t/error-when-copying-local-file-to-remote-server/12708/2 "2013-04-22T12:14:34Z")

</div>

​You have a typo: "scr" instead of "src​"

&nbsp;&nbsp;Serge

---

<div class="post-metadata">

**Author:** ![Clifford\_Sanders](https://avatars.discourse-cdn.com/v4/letter/c/3be4f8/32.png) [@Clifford\_Sanders](https://forum.ansible.com/u/Clifford_Sanders)\
**Post date:** [April 22, 2013, 12:27pm UTC](https://forum.ansible.com/t/error-when-copying-local-file-to-remote-server/12708/3 "2013-04-22T12:27:27Z")

</div>

grrr. yes. of course you are right.

I thought it would be something simple like that. Maybe should have a break.

Thanks

Clifford
