# Using Ansible copy module for remote to remote file transfer (same remote host)

**URL:** <https://forum.ansible.com/t/using-ansible-copy-module-for-remote-to-remote-file-transfer-same-remote-host/30457>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [May 31, 2019, 5:15am UTC](https://forum.ansible.com/t/using-ansible-copy-module-for-remote-to-remote-file-transfer-same-remote-host/30457 "2019-05-31T05:15:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinod93pop](https://avatars.discourse-cdn.com/v4/letter/v/ea5d25/32.png) [@vinod93pop](https://forum.ansible.com/u/vinod93pop)\
**Post date:** [May 31, 2019, 5:15am UTC](https://forum.ansible.com/t/using-ansible-copy-module-for-remote-to-remote-file-transfer-same-remote-host/30457/1 "2019-05-31T05:15:03Z")

</div>

Why don’t you use rsync module which will work good in directory and remote hosts. I think cp module will not work recursively.
