Sometimes directly Linux Pass on server wget or curl
The tool will be slower to download large network files , In this case, we usually use the Windows The platform makes good target files through more modern download functions such as Xunlei (
It's a digression that the members of Xunlei can operate at a higher speed , I also sent a lot of money to Xunlei ~~~), At this time, we are faced with Windows File transfer under platform to remote Linux There's a problem on the server .

   hold Windows File transfer under platform to remote Linux There are many methods on the server , Here is a simple record of the current popular Linux Remote management tools SecureCRT How to operate and precautions !

   Use first SecureCRT adopt SSH2 Protocol connection to remote host , At the open remote terminal (Terminal) window Tab Right click the title tab ->【Connect SFTP
Session】, Can be opened SFTP Session window (SFTP Namely Secure File Transfer Protocol):

 

  SFTP The session process monitors the directory and file resources on both sides of the current host and the remote host at the same time , Through lpwd Command to view the current directory of the current host local , adopt pwd
View the current directory of the remote host , To confirm that the current working directory of hosts on both sides is what we want :

 

 

   If the current directory of the local host is found to be incorrect , You can use the lcd Command to switch the directory to the desired directory ! Homology , If the current directory of the remote host is found to be incorrect , You can use the cd
Command to switch the directory to the desired directory :

 

   When switching the current directory of the local host , usually Windows The directory path under the platform may be deeper , It's hard to lose by hand ( Although we can use Tab Intelligent input ), At this time, I'm actually losing lcd
Command with space , Direct to Windows Next, copy the long path , go back to SFTP dialog box , Cursor to lcd Right click after command , It will be pasted automatically !

 

   If lcd or cd The following directory clearly exists , But report “ The system cannot find the specified file .”, Most of it is Chinese in your path , And the current SFTP The character set encoding used by the session is not UTF-8(
SFTP This is often the reason why the Chinese code in the dialog box is disorderly ):

 

 

   Now through the menu Options->Session Options... open Session
Options Setup dialog , left Category Navigate to Terminal->Appearance Paged Fonts area , modify Character
encoding The selected value of is UTF-8 that will do :

 

   Now everything is ready , Now let's go to the remote Linux Host upload ( Push ) Try a local file , Push files to a remote host using put command :

 

   You can see that we are already like remote hosts /root There is one uploaded in the directory 479416KB(468MB) Compressed files for , It's still relatively fast !

   Now let's try to use the remote host /root Catalog that anaconda-ks.cfg Download files to local current directory , The command to download files from a remote host is get :

 

   Actually use SecureCRT Of SFTP Session from local Windows Operating system to remote Linux The host can also directly drag files to SFTP Dialog box , But also pay attention : If the directory or filename of each layer where the target file is located contains Chinese , Or first SFTP The character set encoding used by the session is changed to UTF-8:

 

Last attached SFTP Interpretation of common commands :

help: Show this SFTP Provide all commands and usage
pwd: Printing / Display the current upload and download directory of remote host
lpwd: Printing / Display the current upload and download directory of the local host
ls: List the files in the remote host upload and download directory
lls: List the files in the upload and download directory of the local host
cd: Change remote host upload and download directory
lcd: Change local host upload and download directory
get: Download the target file in the remote host upload and download directory to the local host upload and download directory
put: Upload the target file in the upload and download directory of the local host to the upload and download directory of the remote host
quit or exit: to break off SFTP connect

 

Technology
©2019-2020 Toolsou All rights reserved,
JS How to operate C Language console games , Make bricks use Python Do automated testing (pytest The essence of framework ) First knowledge MySQL Comprehensive review ( dried food )Python+OpenCV Detailed explanation of face recognition technology Baidu , Ali , Tencent's internal position level and salary structure , With job suggestions ! Image explanation of over fitting and under fitting Huawei certification HCIA-AI artificial intelligence New York Youth Project “ Recapture Wall Street ”: Safeguarding the interests of retail investors CSS architecture design