There are several ways to download a website from the server:
-
FTP - setting to FTP-servers and downloading files to PC.
-
SFTP - downloading files to a PC without additional settings.
-
SCP - copying files directly to another server without downloading files to a PC.
-
rsync - copying files directly to another server without downloading files to a PC.
Important points:
-
When working with FTP or SFTP data will be downloaded to the device, thereby there is a possibility of file corruption when transferring from device to device, as their integrity or encoding may be violated, which can lead to great inconvenience in the future.
-
FTP works faster than SFTP or SCP (without compression)... When transferring a large number of files, it will be noticeably faster to upload or download data.
-
FTP less secure than SFTP, SCP, or rsync. It is highly discouraged to use it on public networks.
-
SCP (using compression) and rsync is much faster FTP or SFTP, since data is transferred directly between servers without intermediaries. This transfer is faster and more secure in terms of the integrity of the copied files.
-
rsync is many times faster and more flexible than SCP, but it is quite difficult to create commands and it is better to use SCP for everyday tasks.
-
Install ProFTPd on a VPS.
-
Connect to the server using any FTPclientusing the data of the user configured in ProFTPd.
-
Go to the directory where the site is hosted (most often this will be the directory
/var/www/
). -
Download all the files you need.