Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to download files to the local linux server

Shulou Source: shulou.com Published: 2022-06-03 02:54:32 10月03日 Update

1. Use the scp command

Scp / home/work/source.txt work@192.168.0.10:/home/work/ # copy the local source.txt file to the / home/work directory on the 192.168.0.10 machine scp work@192.168.0.10:/home/work/source.txt / home/work/ # copy the source.txt file on the 192.168.0.10 machine to the local / home/work directory scp work@192.168 .0.10: / home/work/source.txt work@192.168.0.11:/home/work/ # copy the source.txt file on the 192.168.0.10 machine to the scp-r / home/work/sourcedir work@192.168.0.10:/home/work/ # copy folder under the / home/work directory on the 192.168.0.11 machine Add-r parameter

2. Use the xshell tool

It is very convenient to use xshell to operate the service, and it is also convenient to transfer files.

Is to use rz,sz, first of all, the server should install rz,sz

Yum install lrzsz

Of course, your local windows host also connects to the linux server through ssh.

Running rz will transfer the files of windows to the linux server

Run sz filename, and the file will be downloaded locally to windows

3. Common methods

Install Xshell and Xftp software locally, with shortcuts in xshell software (choose to use Xftp to open the current directory).

These are the details of how to download files from the linux server to the local. for more information, please follow other related articles!

Tags: Files services servers copies machines directories methods software runs hosts contents parameters commands that is tools commonly used file downloads folders articles methods Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Microsoft vpn Redmi Linux