12-17-2020, 01:12 PM
(12-16-2020, 07:39 AM)fChk Wrote: @Rehan
Next time you need to transfer a file from VPS-A to VPS-B, use the scp -secure copy- tool, like so, while logged-in VPS-A:
Code: (Select All)scp -P VPS-B_SSH_PORT /home/username/random_path/arhive.tar.xz VPS-B_IP:/home/username/random_path/
Of course, you can drop the -P flag if the VPS-B_SSH_PORT is the default port.
You can also transfer an entire folder by adding the -r flag.
Good luck!
Appreciated! Thank you @fChk for the information. It was a very hard task to transfer files from VPS to VPS. Sometimes google drive does not works properly on VPS and sometimes multicloud fail to tranfer files from google drive to others.But i hope now it will be very easy to move/copy files from VPS to VPS.