1. wget is the most common http/ftp file download tool in Linux. for resumable Upload of wget, you only need to add the-c parameter. for example, code: wget-chttp: // example 1. wget is the most common http/ftp file download tool in Linux.
1. for wget resumable data transfer, you only need to add the-c parameter, for example:
Code:
wget -c http://www.abc.com/abc.zip -O abc.zip
2. files on the server are downloaded only when the files in the specified local directory are updated.-P specifies the directory, and-N indicates checking whether the files are updated.
Code:
wget -N -P /home/user http://www.abc.com/abc.zip
3. wget download files on the ftp server
Code:
wget --ftp-user=USER --ftp-password=PASS ftp://www.abc.com/abc.zip
For more detailed wget parameters, see wget -- help.
II. scp is a command to copy files through SFTP
# Copying files from the remote end to the local end
Code:
scp root@remote_server:/home/root/abc.zip
# Copy a local file to the remote end
Code:
scp abc.zip root@remote_server:/home/root/abc.zip