# Copy files from remote to remote

**URL:** <https://forum.ansible.com/t/copy-files-from-remote-to-remote/34988>\
**Category:** Ansible Project\
**Created:** [April 15, 2021, 8:54am UTC](https://forum.ansible.com/t/copy-files-from-remote-to-remote/34988 "2021-04-15T08:54:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sivaraman\_P](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sivaraman\_P](https://forum.ansible.com/u/Sivaraman_P)\
**Post date:** [April 15, 2021, 8:54am UTC](https://forum.ansible.com/t/copy-files-from-remote-to-remote/34988/1 "2021-04-15T08:54:20Z")

</div>

Hi All,

Is there anyway to copy files from one remote node to another without using delegate\_to in ansible.

Regards,  
Sivaraman P

---

<div class="post-metadata">

**Author:** ![racke](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/racke/32/4767_2.png) [@racke](https://forum.ansible.com/u/racke)\
**Post date:** [April 15, 2021, 9:01am UTC](https://forum.ansible.com/t/copy-files-from-remote-to-remote/34988/2 "2021-04-15T09:01:35Z")

</div>

> Hi All,
> 
> Is there anyway to copy files from one remote node to another without using delegate\_to in ansible.
> 
> Regards,  
> Sivaraman P

You could use rsync/scp commands directly, but why do you want to avoid delegate\_to: ?

Regards  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Racke

---

<div class="post-metadata">

**Author:** ![Daniel2](https://avatars.discourse-cdn.com/v4/letter/d/b2d939/32.png) [@Daniel2](https://forum.ansible.com/u/Daniel2)\
**Post date:** [April 15, 2021, 9:37pm UTC](https://forum.ansible.com/t/copy-files-from-remote-to-remote/34988/3 "2021-04-15T21:37:35Z")

</div>

I just posted this… [https://groups.google.com/g/ansible-project/c/AHSouJ\_nM8g](https://groups.google.com/g/ansible-project/c/AHSouJ_nM8g)

If I could figure out how to do what I am doing, that would be a solution you are trying to solve.

We have servers at remote locations, sometimes users will move from one remote locale to another remote locale, so a GPO maps the home drive to their current remote locale server and we need to copy files from one server to another.
