|
|
|
 |
|
Íîâè÷îê
Â
Ðåãèñòðàöèÿ: 19.11.2014
Âîçðàñò: 40
Ñîîáùåíèé: 2
Ñêàçàë(à) ñïàñèáî: 0
Ïîáëàãîäàðèëè 1 ðàç â 1 ñîîáùåíèè
Âåñ ðåïóòàöèè: 0 ![]() |
Download Free [Äëÿ ïðîñìîòðà äàííîé ññûëêè íóæíî çàðåãèñòðèðîâàòüñÿ]
|
|
|
|
wget can act like a web crawler. If you want to download an entire directory or a small website for offline viewing, use the -r (recursive) flag. wget -r -np -k https://example.com Use code with caution. -r : Enables recursive downloading.
This command downloads file.zip into your current working directory. 2. Saving a File with a Different Name command line download file wget
wget is a free, open-source command-line utility used to retrieve content from web servers. It supports HTTP, HTTPS, and FTP protocols. Its biggest strength is its design, meaning it can run in the background while you focus on other tasks. It can even resume downloads that were interrupted by a poor connection. 1. The Basic Download wget can act like a web crawler
-np : (No Parent) Prevents the tool from following links to directories above the one you specified. -r : Enables recursive downloading
-k : Converts links in the documents to make them suitable for local viewing. 8. Handling Authentication
Sometimes a URL results in a messy filename, or you simply want to organize your files better. Use the -O (uppercase O) flag: wget -O my_custom_name.zip https://example.com Use code with caution. 3. Resuming Interrupted Downloads
If a file is behind a password-protected directory, wget can pass credentials using these flags: