Transferring a file from a server towards another server using php

Hello

I need to transfer file

/data/data.txt located on server (A) i.e. located at 78.78.78.78

to

/data/data.txt located on server (B) i.e. located at 79.79.79.79

How can I do this ? Thank you

The solution will depend on why you want to transfer the file. Is it just one off? On demand? Scheduled?

So you have a File… and you want to Transfer it… across some Protocol … hmm.

Or cURL would work.