1

I need to copy a file from one server to another. Here is my exact requirement. I am log in from server a and I have to copy a file from server b to server c . So what is the command for it ?

user3493180
  • 43
  • 1
  • 2
  • 5
  • If you has access of the ftp of the remote server, we can also use **wget** to download like `$wget -r --level=9 --no-parent --reject "index.html*" ftp://:@/path/to` [Reference1](http://kspace.in/blog/2010/02/22/copy-files-using-wget/) [Reference2](http://stackoverflow.com/a/273776/3049065) – Mahendran Sakkarai Jan 19 '15 at 06:24

1 Answers1

1
scp <FILES> <USER>@<HOST_IP_OR_NAME>:<DIRECTORY>

http://linux.die.net/man/1/scp

Assuming you can log in to server b run the command above and HOST_IP_OR_NAME is server c

Ferenc Deak
  • 34,348
  • 17
  • 99
  • 167