Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

which one is better wget or scp to copy files from one server to other? [closed]

Tags:

copy

scp

ssh

I have to copy my all projects from one server to other.

which one is better options : wget or scp ?

like image 539
Obhaso Avatar asked Jul 17 '12 09:07

Obhaso


People also ask

Can I scp between two remote servers?

The scp tool relies on SSH (Secure Shell) to transfer files, so all you need is the username and password for the source and target systems. Another advantage is that with SCP you can move files between two remote servers, from your local machine in addition to transferring data between local and remote machines.

How do I transfer files from one Linux server to another?

In computing, the SSH File Transfer Protocol (also Secure File Transfer Protocol, or SFTP) is a network protocol that provides file access, file transfer, and file management over any reliable data stream. SFTP is easy to work with: You enter sftp along with the name of the remote system on the command line.


1 Answers

Use scp. wget is only useful to retrieve files using HTTP or FTP.

like image 190
Denys Séguret Avatar answered Sep 28 '22 03:09

Denys Séguret