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
555 views

wget Download webpage completely into one file and an assets folder

I am trying to emulate right-clicking and "Saving As, complete" in Chrome or Firefox. I tried this: wget -E -H -k -K -p http://gizmodo.com But that created a several folders, one for each domain ...
0
votes
2answers
350 views

What happens to wget when the ssh pipe gets broken?

Say, I'm downloading a file using wget on the server machine via SSH and due to some internet connectivity issues, ssh kicks me out saying broken pipe. What happens to the wget download? Would it stop ...
0
votes
1answer
169 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 ...
1
vote
3answers
264 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 taring is not possible). I'm using the following standard command: wget -m ...
2
votes
0answers
19 views

How can I download an entire (active) SMF2 forum? [duplicate]

Possible Duplicate: How can I download an entire website? I would like to download a full copy of a Simple Machines 2 Forum. I want to make a locally browsable copy of the entire forum. The ...
1
vote
1answer
312 views

Grab source from Google Code using wget or curl?

Is it possible to grab the source-code from a Google Code repository (hg) using wget or curl? Else using Python? Thanks for all suggestions FYI: I'm on a shared WebFaction host, so can't install hg ...
0
votes
0answers
77 views

Excluding certain file types in wget

I have been using wget for a while now to mirror files from an ftp server to a local folder. My wget command is as follows: wget -mirror -w 1 -p -nH -P /var/www/ ftp://my-ftp-server However, I just ...
-1
votes
3answers
121 views

Limiting files with wget

I'm trying to download mailing list archives such as http://cryolist.org/archives/ In particular, I have a page and would like to download every file linked from that page which ends with ".txt.gz". ...
0
votes
2answers
181 views

Linux WGET -O command for non existing folders?

I can't wget while there is no path already to save. I mean, wget doens't work for the non-existing paths. For e.g: wget -O /path/to/image/new_image.jpg http://www.example.com/old_image.jpg If ...
0
votes
1answer
214 views

wget fails to resolve host/node name after 1 file download

I've recently been trying to download a large number of files from a website with wget, and my problem is that once I have downloaded one file, I receive the following error message. --2012-06-28 ...
0
votes
2answers
867 views

Wget save cookies not working

I've been trying to login in the pyload through the web api, but wget is not saving the cookies and I don't understand why. I'm using the following command: wget --delete-after ...
2
votes
0answers
68 views

wget and <video> tag

I'm using wget to recursively download all pages from the website(includin all css, js and images) that works great except it does not follow <video> tag and do not download video files is ...
0
votes
0answers
189 views

Timestamping doesn't work properly in wget?

Having problems getting wget to grab and download a remote file if the timestamp on the remote files is newer than the timestamp of the local copy. I'm using the following syntax: /usr/bin/wget ...
1
vote
2answers
958 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 ...
0
votes
0answers
121 views

Chrome downloads 60 times slower than wget?

I just downloaded a large file (the KyngChaos PostgreSQL package, an 8.5MB file). In Chrome, it was downloading at less than 1KB/sec, and said it would take over an hour to arrive. When I tried ...
0
votes
1answer
218 views

wget: only download .listing file

when a download with wget and user the argument wget url --no-remove-listing I can save the .listing file. but, How I can download only the .listing file ?
1
vote
0answers
162 views

wget - only getting .listing file in every sub-dir

if I use the command "wget --no-remove-listing -P ...../debugdir/gnu// ftp:/gnu//" I will get the .listing file of that directory. But I have to step through each subsequent sub-directories to get the ...
3
votes
1answer
407 views

Difference between wget and browser file downloading

I have a direct link http://oocairo.naquadah.org/dist/oocairo-1.4.tar.bz2 And it's downloading fine throught chromium web browser. But throught wget $ wget ...
5
votes
4answers
775 views

Wget is silent, but it displays error messages

I want to download a file with Wget, but per the usual UNIX philosophy, I don't want it to output anything if the download succeeds. However, if the download fails, I want an error message. The -q ...
4
votes
3answers
361 views

How to automate downloading files?

I got a book which had a pass to access digital versions of hi-res scans of much of the artwork in the book. Amazing! Unfortunately the presentation of all the these are 177 pages of 8 images each ...
2
votes
0answers
44 views

How do just get a list of all links by using a recursive wget?

I would like to get a list of all of all of the links on a given webpage (recursively). I can't seem to find out how to do it without just going a wget -r . I don't want to save all of the junk, ...
2
votes
2answers
440 views

Avoid creating multiple files with wget

I use wget to call a link every 10 seconds like this: #/bin/sh while true; do wget http://www.some.random.link/to/some/PHP/script sleep 10 done This produces empty files called ...
0
votes
2answers
236 views

Why does wget not get all the pages when mirroring this site

I want to mirror the following web site completely: http://tinaztitiz.com I use the following wget command: wget -m http://tinaztitiz.com The web site is a custom CMS and contains lots of pages ...
2
votes
1answer
2k views

Why does `wget` download index.html instead of a direct file?

I'm just trying to download this, but it always redirect to the main page and in the end just download the index.html file, not the file I'm trying to download: ...
3
votes
2answers
678 views

Wget - if / else download condition?

I want wget to prefer a certain filetype over another, if the files have the same basename. For example: if foo.ogg available, don't download foo.mp3 the way i use wget so far to ...
0
votes
2answers
587 views

How to use wget to grab copy of Google Code site documents?

I have a Google Code project which has a lot of wiki'ed documentation. I would like to create a copy of this documentation for offline browsing. I would like to use wget or a similar utility. I have ...
0
votes
3answers
3k views

How to use Wget with Tor Bundle in Linux

I'm a Linux Mint (Lisa) and Tor Bundle user trying to use wget over Tor. After following the directions I found here, all I get when running wget is an output file saying, "514 Authentication ...
2
votes
1answer
277 views

Wget site mirror, links with rel=“<content>” not followed

Whilst creating a site mirror using wget 1.12 on Ubuntu links with a rel attribute set are not downloaded: <a href="link" rel="tag">text</a> Rel="tag" is a microformat (By adding ...
0
votes
2answers
125 views

Scraping new posts from a phpBB? [closed]

What is the best approach for scraping new posts from a phpBB? In other words, rather than manually going into phpBB looking for new posts periodically, I would like to run a script periodically ...
1
vote
1answer
3k views

Downloading only images using curl or wget?

UPDATED: I've found using this Bash script fixes the problem of having GIF files with a .jpg extension. I'm attempting to download images from a forum who's url uses the following format: ...
2
votes
4answers
2k views

Copy entire website including PHP and SQL?

Is it possible when copying an entire website and template using wget (httrack or other program) to also get the PHP code and the SQL database? What software would I need to copy/mirror a site like ...
2
votes
1answer
598 views

wget fails but opening in browser succeeds. How?

I was trying to download a pdf from the intel website at this address. When I open it through the browser(google-chrome) there seems to be no problem in viewing it or storing it on the my hard disk. ...
1
vote
2answers
155 views

Downloading with wget while not knowing the end index

i'm downloading some measurements with wget, which are in the form of http://www.somewhere.com/sub-somewhere052/image0001.jpg http://www.somewhere.com/sub-somewhere052/file0001.txt up to ...
1
vote
1answer
229 views

How to use delicious API from command line

I'm trying to add a delicious bookmark from a shell script, but keep getting the mysterious "something went wrong" error. I've checked the official spec and several examples and everything looks ...
0
votes
1answer
248 views

curl (7) permission denied on cgi script

Can't understand which permissions could be denied. Running cgi script from command line works fine. http_proxy="" curl http://url/ -o file Produces curl(7): permission denied (same issues with ...
1
vote
0answers
42 views

Download pages that I have to log in to get with wget

There's a website that I must log in to before I can browse the content, and the content would be very helpful for my work if I could browse it while offline. It's training and repair information for ...
1
vote
3answers
1k 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
2answers
237 views

How I can download this directory?

Is it possible to download this entire directory with wget? How I can do that? This is the directory with the files that I want to download: ...
2
votes
2answers
345 views

How to use wget on a list of images

There's this beautiful boy who periodically uploads pictures of himself to his website. I am trying to automate the process of downloading these images to my computer. So far, I'm able to download ...
1
vote
2answers
470 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
1answer
474 views

Submitting a form using curl

Forgive me for the simple question... I haven't used curl before. I'm trying to automatically download some data from this form: http://ida.water.usgs.gov/ida/available_records.cfm?sn=12040500 which ...
2
votes
1answer
244 views

Resuming Cancelled Download with WGET

Half-way through a 4GB download I accidentally rebooted the system. Upon loading back up, I had the sheer horror of realising I cancelled the bloody download because of it. I've booted my Ubuntu VM ...
2
votes
1answer
2k views

Using wget and manually assing Range header

I would like to download a range of a file which I have explicitly defined. As far as I know: wget --header="Range: bytes=1024-2048" http://www.example.com/file.tmp should run well. Yet, it ...
0
votes
0answers
141 views

Direct download location for MySQL Workbench?

I'm working on a bash script that installs various applications, and one of those is the latest version of MySQL Workbench. Since Workbench's presence (and version) in Linux repositories is ...
0
votes
1answer
885 views

Downloading multiple files with wget and handling parameters

How can I download multiple files using wget? I also want to rename the files. Here are the commands I'm running one by one (copy/paste on terminal): wget -c --load-cookies cookies.txt ...
0
votes
1answer
412 views

How to configure wget to mass file download keeping the original filename

I have some problem configuring wget right for my needs, i have a file, named images.txt, containing a list of urls to required images, the command for wget is simple: wget -i images.txt however ...
0
votes
1answer
1k views

Install java on Linux through shell without apt-get

I'd like to run multicraft on one of my servers. After some intensive debugging/installing I realised the server didn't yet have a Java Runtime Environment. I figured it would be easy to install, but ...
2
votes
1answer
571 views

Downloads stall and won't resume

I have a shaped 384kbps ADSL connection (entry-level "broadband") with an ISP, which runs over the compulsory analog voice line provided by the only telephone provider in the country. "Shaped" means ...
1
vote
1answer
272 views

Scrape a site with curl/wget appending a parameter to each site

I need to scrape a website for all sites and append an Paramater, e.g. www.theSite.com/allpages?myPara=us Now what I got is wget --recursive to get all sites, but that doesn't append the parameter ...
2
votes
1answer
130 views

Will a wget process continue to run after administrator is logged out?

I logged into a Windows 2008 server via remote desktop as Administrator and started a wget process which will take 24 hours to download 29 files. If someone happens to log in during that time and ...

1 2 3 4 5 7