xshell file transfer

1. Log in to connect to remote server

2. Go to the folder directory you want to upload to and select the file to upload

# rz //Select file to upload

 

# sz aa //sz Houman can download files from Linux with the file name

 rz cannot upload the folder, we can solve it by packaging.

1. Pack and compress locally as zip (rar, tar are also available);

2. Upload the packaged xx.zip to the server;

3. Unzip the folder on the server side: unzip xx.zip;

4. After decompression, delete the zip package: rm -rf xx.zip (r refers to folder removal, representing all files in this folder, which is equivalent to recursive search, and f means forced removal)

Guess you like

Origin blog.csdn.net/weixin_42217154/article/details/110391626