The Linux system is endowed with many different file transferring functions. Each function is unique in use and application. Following is the list of the most commonly used file transferring functions when you need to transfer files from one Linux server to another.
Step1 Type the command:
ftp servername
File transfer protocol (ftp) is the standard cross-platform interactive tool for file transfers. Provide your username and password when prompted. The ftp session will begin.
Step2 Enter the command:
sftp servername
Secure ftp (sftp) uses an encrypted session, making it a better choice for unsecured networks.
Step3 Use the remote command copy (rcp) of BSD on trusted, secured networks only. The basic syntax is:
rcp .
rcp file1 linuxhost2:/temp
Step4 Secure copy (scp) is an encrypted version of rcp. The transfer is sent over an encrypted Secure Shell (ssh) session. The syntax is essentially the same:
scp linuxhost2:/temp/file2 /var/tmp
Step5 Copy or synchronize entire directories, using the rsync command:
rsync –oupgrle ssh /local/directory host2:/remote/directory
Check the manual page for rsync to describe the options listed.
How to Transfer Files from one Linux Server to Another
tags: Linux | author: chaoPosts Relacionados:
Subscribe to:
Post Comments (Atom)
0 comment:
Post a Comment