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
1answer
83 views

Try to download mp3 with wget but it redirects to another site?

I am trying to download mp3 files from this adress hanialrefai using wget like this: wget -r -l0 -k -p -A.mp3 http://hanialrefai.com but it redirects me to http://quantsa.ru/?pw and then it say: ...
1
vote
1answer
150 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 ...
0
votes
2answers
356 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 ...
0
votes
0answers
52 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 ...
1
vote
1answer
119 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 ...
0
votes
1answer
86 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
34 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 ...
0
votes
0answers
65 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 ...
0
votes
1answer
65 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
424 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
70 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 ...
2
votes
4answers
369 views

Download forum with wget with username and password?

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 ...
1
vote
1answer
3k 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. ...
1
vote
2answers
630 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
2k 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 ...
0
votes
2answers
271 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
1answer
135 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 ...
0
votes
1answer
88 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 ...
-2
votes
1answer
110 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
2answers
1k 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
1answer
74 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
87 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
309 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
71 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 ...
0
votes
1answer
51 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 ...
-1
votes
1answer
54 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
314 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 ...
1
vote
1answer
134 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 ...
1
vote
1answer
1k views

Why I can't use wget command in SSH shell?

I have the following problem. I am using my RaspBerry (with RaspBian installed) by SSH. My problem is that I can't use wget command because it fails. For example if I try to execute the following ...
1
vote
0answers
78 views

Does aria2 support write small files in batch?

I'm using aria2 to download 8 million jpg from flickr. Each image is about 100KB. I got a list of urls of these images in a txt file, the format is: ...
0
votes
1answer
49 views

How can I get a notification if wget can not reach a site in x seconds?

How can I set a timeout for wget and get a notification the connection times out in 20 seconds? So far I've tried the following command wget --spider www.example.com
0
votes
1answer
70 views

How I can download PDFs of a website by using only the root domain name?

I am using this command: wget -nd -e robots=off --wait 0.25 -r -A.pdf http://yourWebsite.net/ but I can't get PDFs from the website. For example I have a root domain name: www.example.com and ...
0
votes
1answer
116 views

Downloading entire web pages within domain [duplicate]

My computer in on LAN. I'm connected to the local domain at MyDomain. Within that domain exists something like WIKI for a training (http://training-wiki/). I would like to download entire WIKI into my ...
3
votes
1answer
341 views

How to use wget to download images from messages on facebook?

This look a bit harder than usual. I'm a new user wget and i was thinking that maybe it's possible to somehow login into facebook and download only images from a specific conversation. I mean, i'd ...
1
vote
1answer
140 views

Ping works, other commands fail

I'm behind a proxy at work. When I try to ping google, it works. When I try to wget, I got stuck on the "Connecting to [proxy name]". I tried both via the "google.com" adress and via the IP adress I ...
1
vote
1answer
113 views

Firefox - Download files using external bash script

Is possible to issue external bash script when files are being downloaded in Firefox? My goal is high customization. E.g. scripting something that will save files to specified folder based on ...
1
vote
1answer
174 views

Wget - Difficulty Excluding Domains and Directories

I am using Wget in Windows 7. I believe this restricts me to Wget 1.11.4. For anyone interested in the details, I have posted a sample wgetrc file. This sample is actually the one I am currently ...
1
vote
0answers
82 views

wget put all prerequisites in flat subdirectory, but not root page?

I'm trying to get wget to save a page + prerequisites in a format resembling that of a web browser: article.html article_files/img.jpg article_files/script.js I am able to get almost this behavior, ...
0
votes
1answer
57 views

How to autostart wget to download files when internet connection gets up?

I am using Windows XP. i have created a batch file containing wget -i links.txt --read-timeout=2 -t 0 -w 0 --waitretry=0 -c --no-check-certificate -b and the file "links.txt" contains URLs pointing ...
1
vote
1answer
214 views

Mirroring a web site having pages that uses simple JavaScript [duplicate]

There are simple and great web site download tools that allow to create a local mirror of simple sites having no JavaScript infrastructure behind. However, sometimes there cases when a site looks ...
0
votes
0answers
39 views

Gzipped file arrives unzipped

I've recently set up an ArchLinux system at work and added the ArchHaskell repo. This is far from the first time I do this. I have a number of systems where it's worked just fine, but this last time ...
3
votes
1answer
3k views

How can I download private repo from github?

What I want to do is to download private repository archive from GitHub, extract it, remove archive file and copy some directories that are inside downloaded project. I tried to use wget but I cannot ...
3
votes
1answer
2k views

How can I force wget.exe to talk HTTP/1.1?

I'm talking about Windows, not Linux. I tried: wget -O X:/test/some/dir/file.txt --tries=3 -c http://some.com/dir/data.txt wget -O X:/test/some/dir/file.txt --tries=3 http://some.com/dir/data.txt ...
0
votes
0answers
579 views

Wget with input file says “No such file or directory”

I want to use Wget for Windows to retrieve some files on URL's which I have specified in a file called WgetInput.txt After reading the documentation I figured out the command I should use, which is: ...
2
votes
1answer
1k views

How can I encode an url for wget?

I am looking for a way to convert a string to a clean url. For example : wget http://myurl.com/toto/foo bar.jpg This is going to download http://myurl.com/toto/foo and http://bar.jpg. I want to ...
3
votes
1answer
633 views

How can I get a list of all messages in my gmail account in linux command line?

How can I get a list of all messages in my gmail account in linux command line? Ideally I would want to see something similar to: from:sender1@domain.com to:me@gmail.com Date:11/22/33 subj:Foo1 ...
1
vote
0answers
126 views

MacOS Mavericks: wget getting stuck with local ip but not with localhost

I am facing a weird problem on my Macbook (Mavericks). I'm serving some files over http. When I try to get the files using wget: it works perfectly using localhost or 127.0.0.1 it starts but get ...
0
votes
0answers
174 views

Using Wget with JQL Query

We are trying to run a Wget command wget -O xyz.xls --user=COldPolar --password=GlacierICe --ignore-length=on ...
0
votes
4answers
434 views

Mirroring a wordpress website with wget

I'm trying to download a wordpress web-site, my blog actually, and to get the php files as well. So far I've tried - wget -rkp -l3 -np -nH --cut-dirs=1 http://www.sharons.org.uk/ wget -r ...
1
vote
2answers
1k views

wget error 400 CentOS

I have problem with calling wget command in CentOS 6.5. Im using following command: (I spaced the https, because of my user level on thi forum) wget --certificate=/root/o2key.pem ...