GNU Wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols. It is a non-interactive commandline tool, so it may easily be called from scripts, cron jobs, terminals without X-Windows support, etc.

learn more… | top users | synonyms

0
votes
2answers
690 views

Does wget have a download history?

I have used wget to download several compressed packages(in a failed attempt to manually emulate apt-get, if that is of any significance), and I don't remember the packages' locations. Is it possible ...
0
votes
2answers
28 views

How can I archive someone's Facebook profile page?

I thought about using archive.is or archive.org. I tried to view the page in a private browser, but it asks to log in, so that site will see the same thing. I tried to open the developer console and ...
0
votes
1answer
30 views

How is wget able to download an iso file when only iso.gz is listed under the FTP library

I hit a behavior of wget from FTP server (URL: ftp://foo.com/bar/...) that was unfamiliar to me. Can you direct me to some documentation or explain how is the following possible? If I wget the ...
0
votes
0answers
5 views

Does wget retrieve files in above levels when using --no-parent and --page-requisites?

Here's the scenario: Site with file www.dom.com/foo/bar/page.html, which contains a reference to file www.dom.com/foo/page.css Case 1) Would wget --page-requisites --no-parent ...
0
votes
2answers
22 views

Wget does -m need to be used with -r --no-parent argument

Title pretty much says it all. If i want to mirror a website directories and sub directories. should i use wget -m -r --no-parent bla.com or should i use wget -r --no-parent bla.com. Is -m needed?
27
votes
4answers
47k views

how to download dropbox files using wget command?

Seems I can only download dropbox files using explorer such as chrome and firefox. If I use wget to download, then I would get a file which is in html format. Why? For example you can open this link ...
5
votes
3answers
5k views

wget -o writes empty files on failure

If I write wget "no such address" -o "test.html" it first creates the test.html and in case of failure, leaves it empty. However, when not using -o, it will wait to see if the download succeeds and ...
0
votes
1answer
29 views

How can you “press” a button of a webpage from the command line to restart a cable modem?

I'm trying to reboot my cable modem programmatically. I used to be able to do this by using wget: wget http://192.168.100.1/reset.htm?reset_modem=Restart+Cable+Modem However I changed my cable ...
0
votes
0answers
32 views

wget issue with a tunnel connection using ssh

I'm working on a campus where the network is highly insecure (certain people are doing packet sniffing) and proxy servers are used for internet access. I have access to a server (communication ...
0
votes
1answer
21 views

Psexec with curl or wget

I recently found out about psexec and was wondering if this program could help me run wget or curl commands on a remote computer. is this even possible?
24
votes
8answers
56k views

Wget/cURL alternative native to Windows?

Is there a Wget or cURL type command line utility native to Windows Vista? How does it work?
7
votes
3answers
14k views

wget for ftp using a password containing @

I am trying to get some files from my ftp server from the command line. I am using wget to download the whole folder at once. The command is: wget -m ...
2
votes
4answers
5k views

wget - download all files but not preceding folders

I'm using wget to download all files from within a folder using the -r and -np options. However this also downloads the preceding folders, which I don't want. For example: wget -r -np ...
5
votes
4answers
12k views

How to combine wget and grep

I have a html-page url and I want to grep it. How can I do it by wget someArgs | grep keyword? My first idea was wget -q -O - url | grep keyword, but wget's output bypass grep and arise on the ...
3
votes
3answers
4k views

Is it possible to force wget to use one connection?

I'm trying to download about 20GB of data with FTP with my personal account (no scp available and tar-ing is not possible). I'm using the following standard command: wget -m ...
0
votes
0answers
17 views

gnuwin32 wget Unable to locally verify the issuer's authority

I have just installed gnuwin32 wget and have had some issues when running it. I appear to have issues with https sites... I get a "Unable to locally verify the issuer's authority." error. I have very ...
0
votes
1answer
3k views

bash- how can I use wget to send POST data with files?

I want to make following POST request to my server using wget: email=abc@abc.com&file1=@FILE_HERE&file2=@FILE_HERE In above request, there are three POST parameteres called email , file1 ...
3
votes
2answers
28 views

How can I download a file the moment it becomes available on linux?

How can I set up something on a Linux machine so that the moment a file on a web server returns something other than a 404 error it will download it. I would like it to stop checking the moment the ...
5
votes
4answers
3k views

wget not converting links

I am trying to mirror a fairly large site (20,000+ pages) prior to a major overhaul. Basically, I need a backup before cutting over to the new one in case we forgot something we need (we'll have ...
1
vote
1answer
26 views

wget for FTP end in “connection refused”

I want to copy a FTP directory to my server (Debian) using wget command. I tried : wget -m --user=user --password=passftp://ftp.domain.com I've got this error : connection... failed : Connection ...
174
votes
15answers
368k views

How to download files from command line in Windows, like Wget is doing?

How can I download something from the web directly without Internet Explorer or Firefox opening Acrobat Reader/Quicktime/MS Word/whatever? I'm using Windows, so a Windows version of Wget would ...
0
votes
0answers
24 views

How can I plot cwnd vs. time and queue occupancy vs. time graph of the buffer from wget output?

I had used a smaller buffer for 2 host network h1 and h2 using sudo ./run-minq.sh command. Now at first, I observed the wget from h1 to h2. Next I start iperf and wget simultaneously and observed the ...
0
votes
1answer
39 views

Download the directory structure of a website without its files?

I googled for this but couldn't find an example of how to use eg. wget to download the directory structure of a website without downloading any of its files. At this point, I just need to understand ...
0
votes
1answer
45 views

Downloading with wget using referer + cookie

I'm trying to download a file from a website that requires login. This command retrieves the cookie.txt and the downloaded html shows I'm logged in (ok): (I broke the command in lines for ...
0
votes
0answers
8 views

mirror site behind login

I would simply like to mirror all the pages (millions) on a site behind a login. This is for personal use. I have a login for the site in question but I want to scrape it into a database. I ...
1
vote
1answer
3k views

WGET downloading extremely slow

I am using the following command wget -r -np -k -p http://www.site.com/dir/ To download a small archive of files(there is a couple hundred files so I don't want to click download on each one and ...
1
vote
2answers
35 views

How to wget a webpage's actual code for a <div> element

I use wget to save a webpage to a file 'annie.html'. % wget -qO- http://www.swagbucks.com/watch/video/523803/annie > annie.html Inside this file is this line: <div ...
51
votes
4answers
64k views

Save a single web page (with background images) with Wget

I want to use Wget to save single web pages (not recursively, not whole sites) for reference. Much like Firefox's "Web Page, complete". My first problem is: I can't get Wget to save background images ...
0
votes
1answer
506 views

How can I download files from shared Amazon Cloud Drive links through the command-line?

I have been using Amazon Cloud Drive (ACD) for a while now and I am very happy someone has developed a command-line-client for it (called acd_cli). It allows me to keep my files in "sync" with my ...
0
votes
0answers
23 views

How to make wget IGNORE certain files?

How do I make wget IGNORE certain files? I ask, since it downloads them and deletes them afterwards, since they're not required (they're excluded). But is there an option to IGNORE them BEFORE even ...
0
votes
1answer
42 views

Cannot write to '-' (Broken pipe) OVH server?

I am trying to run this command to install Windows on my OVH VPS and I get Cannot write to '-' (Broken pipe); root@rescue-pro:~# sudo -i wget -O- 'http://mirror.joodle.nl/Windows_Server2012R2.gz' | ...
0
votes
1answer
25 views

Downloading multiple files in parallel with changed names

I'm writing bash script and don’t know how to solve my problem. I want to to download multiple files at the same time , but ... I want to save the files under modified names. I have a variable ...
0
votes
1answer
12 views

Neither wget nor curl downloads this wikipedia api request

I can perfectly download this link and save it as a text file in a web browser environment. But I can't download and save that wikipedia api request using neither wget nor curl. I use wget -O file.txt ...
0
votes
1answer
29 views

Wget download speed fluctuating

So I'm downloading an ISO from the Uberstudent website using the wget command displayed on their website. But the download speed is constantly fluctuating and I am wondering what could be causing ...
2
votes
0answers
139 views

Retrieving from ftp dirs with wildcards

What is the most efficient way to retrieve all relevant data from ftp if the address of said data can be specified with wildcards as below: ...
1
vote
2answers
41 views

DNS resolution through a proxy

I am behind a very capricious proxy (squid) and it seems only http requests made with a particular user-agent are allowed. When fetching google.com from Google Chrome, I can see a HTTP GET on ...
8
votes
2answers
668 views

How can I use a command line tool like Wget to log into an OpenID site?

Specifically, I would like to be able to download certain pages from my user profile on the various Stack Exchange sites. I would, however, like to do this automatically (using a cron job), from ...
1
vote
1answer
26 views

Bash: return all the characters between the nth occurence of two different strings within a string

In a bash script (on Ubuntu 14.04) I'm running the command: WP055="$(wget -qO - http://alerts.weather.gov/cap/wwaatmget.php?x=CAZ055&y=1)" Within the WP055 variable string there will be an ...
0
votes
0answers
46 views

Fastest possible 1-liner request generator on Linux webserver

Long story short, I want to make the following 1-line script as fast as it can get: tail -f access_log | grep -v 'some_requests' --line-buffered | sed -u ...
0
votes
0answers
92 views

How to download source video on vimeo

I would like to download several of my Vimeo videos with wget. From my dashboard, I can generate links for each video. I can choose between Standard Def, Mobile and Source. While Standard and Mobile ...
10
votes
2answers
26k views

Recursive download (`wget -r`) equivalent for Firefox?

I have a website, and I want to download all of the pages/links within that website. I want to do a wget -r on this URL. None of the links go "outside" of this specific directory, so I'm not worried ...
0
votes
0answers
24 views

How can I get wget to always download the file, e.g. I don't want “The file is already fully retrieved; nothing to do” [duplicate]

I'm giving a very simple command, such as wget http://www.example.com/updates/Avail.asp -O avail Which downloads a very small file containing just a few integers indicating which updates to my ...
0
votes
0answers
29 views

Run wget in background but still see download status

I am running wget in Windows (Vista) Command Prompt as follows: wget -b -o test.MP4 -r -A .MP4 -nH --cut-dirs=3 http://website.com If I remove -b I really like that the output showing the download ...
0
votes
2answers
57 views

How to download a file from command line?

I tried wget, powershell and betsadmin, but I can't do it. Can someone help me ? The url (which is a live download link if you click on it in a browser) is: ...
1
vote
1answer
402 views

Download directory & subdirectories via wget

I have a folder with folder view on the web (http://example.com/folder1/folder2/) /folder2 has multiple folders with pdf files within them. I want download to my server via ssh all the content of ...
1
vote
0answers
35 views

wget only new or updated files when the source files are compressed but the destination files are uncompressed

I would like to know how to wget files from a url which are stored with bz2 compression. However, I would like to only wget the new and updated files, relative to my destination, where the files are ...
1
vote
1answer
43 views

Fetch source file from GitHub using command line tools?

This question is related to a question offsite at FATAL: MemorySanitizer can not mmap the shadow memory. The person who responded said: Do simple tests (e.g. this one) work for you? The link ...
0
votes
0answers
32 views

Finding a text string on a website and all its links

Can you help me understand process of finding a certain text string on a website and all its immediate links? I started delving into wget and curl with help of grep but was unable to come up with ...
0
votes
0answers
22 views

Why might this website not be yielding the same response in wget as it does in Firefox?

I want to fetch instances of this web page via a script which injects variations of the parameters into HTTP POST. Using the Firefox Tamper Data extension, I captured a sample request. Here are the ...
1
vote
2answers
7k views

wget without --no-check-certificate

when a try use a wget in a https site, I need add wget --no-check-certificate https://... how I can use a more short argument? for don't use this very long string.