Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of downloading files to local in linux

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

The editor in this issue will bring you the method of downloading files to local in linux, and analyze and describe it from a professional point of view. I hope you can get something after reading this article.

Linux downloads files locally

Enter the command under linux

Sz file name

Then a box will pop up in which path to download.

Sz is send, sending files from the server to the client, which is what we often call downloading files locally.

Other commands:

Wget command

The wget command is used to download files from the specified URL. Wget is very stable, it has strong adaptability in the case of narrow bandwidth and unstable network, if the download fails due to network reasons, wget will keep trying until the entire file has been downloaded. If the server interrupts the download process, it will connect to the server again and continue the download from where it stopped. This is useful for downloading large files from servers that limit link time.

Wget (option) (parameter)

Wget external commands:

-a: record the execution process of the data in the specified log file;-A: specify the suffix name of the file to be downloaded, separated by commas between multiple suffix names;-b: run wget;-B in the background: set the base address of the referenced connection address;-c: continue to execute the task of the last terminal;-C: set the server data block function flag on to active, off is off, and the default value is on -d: run instructions in debug mode;-D: set up a list of domain names separated by ",";-e: execute specified instructions as part of the file ".wgetrc";-h: display instruction help;-I: get the URL address to download from the specified file;-l: set up a list of directories along which multiple directories are separated by ",";-L: only along the associated connection -r: recursive download method;-nc: when the file exists, the download file does not overwrite the original file;-nv: download only displays updates and error messages, not the detailed execution process of the instruction;-Q: does not show the instruction execution process;-nh: does not query the host name;-v: shows the detailed execution process;-V: displays version information;-- passive-ftp: uses passive mode PASV to connect to the FTP server -- follow-ftp: download the FTP connection file from the HTML file. The above is the method of downloading files to the local place in the linux shared by the editor. If you have similar doubts, it does not hinder understanding with reference to the above analysis. If you want to know more about it, please follow the industry information.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report