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

1
vote
3answers
3k 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 ...
0
votes
0answers
19 views

Wget - Problems recursively downloading with authentication

So I'm trying to download the entire domain of a private wiki page. I've saved the cookies in a cookies.txt file and using it with wget for authentication like so: wget --load-cookies=cookies.txt ...
22
votes
5answers
10k views

wget HEAD request?

I'd like to send HTTP HEAD request using wget, is it possible?
0
votes
2answers
28 views

What is the simplest way to download with wget in remote putty terminal using my local windows internet connection

I'd like to initate a download using wget in a remote putty terminal (i.e. an ubuntu server), but using my local windows internet connection. I guess there is two way to achieve this: run an HTTP ...
1
vote
1answer
2k views

Exclude list of specific files in wget

I am trying to download a lot of pages from a website on dial-up and it can be brutally slow. I have almost got the perfect wget command, but because I'm downloading pages from the same site wget ...
0
votes
0answers
29 views

How to grab images only and manipulation url Wget?

I tried to setup a website to test wget to fetch images only, but it doesn't work. I'm using the latest Wget.exe win32 version 1.15. Wget Command wget -nd -r -A jpg http://127.0.0.1/website I got ...
0
votes
0answers
15 views

Downloading an authenticated large file with command line tools

I need to download a file sized around 1.6GB. I's like to get it download via a command line tool like axel, wget or curl However, how can I download a file which needs to be logged in to the site ...
-3
votes
0answers
12 views

Wget not recognised error in command prompt

When using the command "wget" to download a file from web it displays "not reconized as internal or external command" how to fix this.
2
votes
1answer
2k views

Can wget convert links within a local html document?

I know that wget can fetch a remote page and its dependencies and rewrite the html so that image src attributes reference the newly downloaded images. I am trying to convert local html files that ...
0
votes
1answer
19 views

download file from a url that returns a save dialog box

I have a url which on clicking returns a save dialog box for a pdf file. I would like to save this file using wget. Any ideas how to do this? Basically the url is not the url of a file but a server ...
0
votes
0answers
16 views

Do functions/aliases defined in a bash script that's downloaded from a server and executed not work?

I had a .bashrc which I moved to server so that I can download and execute it through wget. wget -O - http://xxx.github.io/dotfiles/bashrc | bash It does get executed but any functions and aliases ...
2
votes
4answers
143 views

Download forum with wget with username and passw?

I want to download a forum where I only have access via my username and my password. I tried the following: C:\wget.exe wget -k -m -E -p -np -R ...
0
votes
0answers
11 views

wget rename .listing file

I'm running multiple instances of wget from the same directory (and connected to the same ftp). wget stores the locations of files on the server in a .listing file. I've noticed that many of my files ...
98
votes
17answers
149k 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 ...
4
votes
2answers
2k views

How to set wget to timeout after downloading more than a fixed duration

I want wget to (attempt to) start downloading, then if isn't done after 10 seconds, I want it to give up. wget --timeout 10 http://url Seems like a reasonable try, but it seems like it only sets ...
1
vote
2answers
2k views

Download entire directory from a website using Powershell

I have been using the following command to pull back files from a web server and store them on my local machine: $client = New-Object System.Net.WebClient ...
-1
votes
1answer
5k views

Download ALL Folders, SubFolders, and Files using Wget

I have been using Wget, and I have run across an issue. I have a site,that has several folders and subfolders within the site. I need to download all of the contents within each folder and subfolder. ...
0
votes
1answer
25 views

Downloading Images through Wget With Proxy

I've written a ruby tool to download multiple images. However, this time I'm having to configure wget with a proxy. Prefix is the specified directory of where I want the images to go and md5_sum is a ...
0
votes
1answer
50 views

wget index.php redirection - The name is too long

I am trying to get a copy of the catalog. I would love to get the "List View" and "Show Object" details. The URL I am tring to wget is: ...
0
votes
1answer
95 views

wget mirroring the site fails - 403 Forbidden, even with user-agent

I need to download suricata's latest rules from this url: http://rules.emergingthreats.net/blockrules/ I'm trying to compose my own rules based on different emerging rules and snort's rules too. ...
0
votes
1answer
19 views

wget doesnt create index file of directory

I try to download site with command: wget -r -l 0 -p -k -m -e robots=off --restrict-file-names=nocontrol,unix http://site.com When it finds link, for example, http://site.com/direction, it creates ...
0
votes
0answers
22 views

How can I get all urls of pattern x from a paged list of search results?

I'm using Windows 7 SP1, and I'm willing to use powershell or wget or whatever will work. I downloaded powershell today (ps 4) and I've got some scripts working, but I'm having trouble with this one. ...
0
votes
0answers
81 views

save content and header into different files using wget

I want to get url content and response header data into two file using wget. I see man of wget but i cant find useful method for this. somthing like this: wget -q --output-document=content.html ...
1
vote
2answers
71 views

How to download an image with wget and save it with the md5 hash as name?

How can I make a download an image, md5 hash the image, and save that image with the md5 hash as name to a directory using wget? # An example of the image link... ...
0
votes
1answer
77 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 ...
4
votes
1answer
359 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 SE sites. I would, however, like to do this automatically (using a cron job), from the command line ...
0
votes
2answers
36 views

Can wget decode uri file names when downloading in batch?

Normally when downloading files using wget, the filenames are encoded. In example: wget -c --content-disposition "https://class.coursera.org/ml-005/lecture/download.mp4?lecture_id=1" and the saved ...
0
votes
0answers
19 views

Parallel download for a list of urls and renaming

I have a list of tab-separated urls, and target file names, urls_to_download.txt, for example: first_file.jpg\thttps://www.google.co.il/images/srpr/logo11w.png ...
0
votes
1answer
24 views

How to navigate PHP-based pagination with WGET?

I'm trying to come up with a list of possible names for our next baby boy and have been looking through the site IndiaParenting. Each name on the site has a detail page at a URL like this one ...
-2
votes
1answer
22 views

wget doesn't match patterns with wildcards

I'm trying to download certain url's which I would like to match with the next pattern using wildcards: http://example.org/subtitles?q=NUMBER_en&format=srt where NUMBER = [0-9]* the output of ...
0
votes
1answer
34 views

How to automatically save a list of files with different names?

I have a text file of URLs, each in the form of: http://domain.com/a/b/c/d.jpg I want to download all of these, but save each file under the name: c_d.jpg In other words, for each file, I want to ...
0
votes
2answers
87 views

Using wget to get files from local to server to remote server

We have a local server where we carry out much of our web development and then we push this to a live environment so that clients can access. We often end up with huge tarballs (this one in ...
1
vote
2answers
3k 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 ...
1
vote
1answer
36 views

How do I make wget match exact domain names?

I'm using the following command to mirror a site: wget -r -p -E -N -l 10 -k -nH -H -Dfoo.com,www.foo.com foo.com The problem I am having is that somewhere on foo.com there are links to domains ...
0
votes
0answers
30 views

How to download all images from a gallery

I'm searching for a way to download all images (not the thumbnails) of this gallery http://kinki.de/#/?gallery=list&gid=4804 . As I can see, the images are all located at ...
0
votes
0answers
61 views

How can I use Wget / Curl / Plowshare to download from 1fichier.com as a premium member?

How can I download files from 1fichier.com (I am a premium member) with the help of Wget / Curl / Plowshare (Plowdown) or other CLI / command line tool / script?
0
votes
1answer
33 views

Trace web redirection in bash script

I want to make a script to download the image at best resolution (not the preview image) from a deviantART link, as if I clicked the "Download" button. However, it seems that deviantART redirect the ...
11
votes
8answers
24k 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?
2
votes
5answers
7k views

How can I download an entire (active) phpbb forum?

One of the forums that I frequent (and have added a LOT of quality content too) seems to be having problems with their server. I am not confident in their ability to sort out the problems they are ...
0
votes
0answers
80 views

OpenWRT wget in background

I start first script /etc/rc.local : sh /root/script1.sh & In file /root/script1.sh I connect by wget to server (while for tries) And after it I run : # say hello tries=1 while [ 1 ]; do ...
0
votes
1answer
20 views

wget only saving first line of cookies

I want to download and save all the cookies from a particular web-page when using wget. However, wget is only saving the first line. I want the saved cookies from wget to be the same as the cookies I ...
0
votes
1answer
320 views

using wget to download from website with case-sensitive URLs to Windows

I used Gnuwin32 wget to download emacs manuals with this command (takes about 30 minutes): wget --mirror --page-requisites --convert-links --no-parent --accept .html,.htm,.css,.js ...
5
votes
5answers
1k views

Trouble using wget or httrack to mirror archived website

I am trying to use wget to create a local mirror of a website. But I am finding that I am not getting all the linking pages. Here is the website ...
0
votes
0answers
41 views

How can I extract stock price data from a specific webpage?

I would like to extract the stock data (i.e. daily stock price) from the following webpage: http://www.onvista.de/aktien/Alcatel-Lucent-Aktie-FR0000130007 This page shows a chart graph of a stock ...
0
votes
0answers
42 views

how to use wget and/or python with an SAP HANA XSJS web page

I have an SAP HANA XSJS web page that I would like to retrieve using wget. I have tried using wget --save-cookies with password data in --post-data but the cookies.txt file comes back empty and the ...
0
votes
0answers
16 views

make wget refer to a local copy without redundantly downloading files

I want to archive a message board,I do that by using wget with the parameters: --page-requisites, --span-hosts, --convert-links and --no-clobber. The problem is that using --convert-links disables ...
-1
votes
1answer
26 views

Is there a way to read a simple one line asp page using a batch file?

I have a simple asp page in which i write an ip address, and nothing more. Now i need a batch file to read the contents of this page and pass it to a variable. I'm not good with batch files but ...
0
votes
1answer
58 views

WGET/cron downloading webcamera file

our new town doctor put a web camera to his waiting room for people to see how much crowded it is. As my mom and grandparents go to this doctor, I wanted to download the files periodically and if they ...
5
votes
2answers
9k views

Using wget to download pdf files from a site that requires cookies to be set

I want to access a newspaper site and then download their epaper copies (in PDF). The site requires me to login using my email address and password and then it permits me to access those PDF URLs. ...
1
vote
1answer
42 views

What is the curl equivalent to wget -x?

I want to use curl to save multiple files with the same local paths as would be produced by wget -x (ie, cleaned up versions of the full urls). But I can't find the right option in the curl docs. Is ...