wget - command-line utility to download content non-interactively.

learn more… | top users | synonyms

1
vote
0answers
18 views

wget resume download from dropbox gives can't write error

I want to resume download from dropbox using wget. I was downloading a file wget -O SQLyog.exe "https://www.dropbox.com/s/dfv2z0le0c2bo7z/SQLyog-9.3.3-0Trial.exe?dl=1" .......... Length: 15775640 ...
1
vote
1answer
247 views

How to implement retry mechanism while executing the server url in the shell script?

I am working on a project in which I need to make a url call to one of my server from the bash shell script.. http://hostname.domain.com:8080/beat After hitting the above url, I will be getting the ...
1
vote
2answers
3k views

wget to get all the files in a directory only returns index.html

I'm new to using bash, and I have been trying to wget all the files from a website to the server I have been working on. However all I'm getting back is an index.html file. I let it run for 15 minutes ...
4
votes
1answer
3k views

Obtaining md5 during wget

I'm wget'ing huge files (over 100GB) and then comparing my md5sum to the sum posted in the repository. Believe it or not, md5sum takes a nontrivial amount of time to run on a file of this size, so ...
11
votes
3answers
11k views

How do I use wget with a list of URLs and their corresponding output files?

Suppose list_of_urls looks like this: http://www.url1.com/some.txt http://www.url2.com/video.mp4 I know how to use that with: wget -i list_of_urls But, what if my list_of_urls has this, and they ...
5
votes
2answers
6k views

How to use wget to download from hosting sites?

wget is a very useful tool to download stuff on the internet quickly, but can I use it to download from hosting sites, like FreakShare, IFile.it Depositfiles, Uploaded, Rapidshare? If so, how can I do ...
-2
votes
2answers
653 views

What is the meaning of wget -O -

I am trying to install dropbox onto my Debian machine, and I saw the instruction cd ~ && wget -O - "some website leading to the download of a tar file" | tar xzf - But what I did was ...
0
votes
1answer
18 views

What options does wget --report-speed take?

When I do this command: wget --report-speed=type they only type it accepts is bits. It won't have numbers, kilobits / kilobytes or bytes. The help page (wget --help) says: --report-speed=TYPE ...
4
votes
1answer
137 views

Bash Script - Wget Graphical Download Progress

I'm trying to port this code from wget + zenity to wget + kdialog. The code with zenity: #!/bin/bash # Start wget | zenity # Note the & at the end of the pipe, this allows the script to continue ...
1
vote
1answer
17 views

“wget --restrict-file-names=windows” seems to fail converting links for NTFS

I've downloaded a website from the net using the wget command-line tool with --restrict-file-names=windows so that once the download is complete I could copy the downloaded files to a mounted Windows ...
0
votes
1answer
20 views

Configure wget to ignore a specified domain, or treat it differently?

I'm using wget to mirror an old website with all of its --page-requisites. Unfortunately, one of the domains which used to serve some of these requisites - is now offline. Every time wget tries to get ...
1
vote
1answer
61 views

How do I put a time stamp with: wget --output-file=[FILENAME] [URL]

So I've been trying to put a timestamp on some images I'm downloading from a webcam, but so far it's been saving the images with the names camera3_date' here's my line that I enter: wget ...
0
votes
0answers
50 views

wget stops downloading: Cannot write to `-' (success)

Please have in mind that I don't know anything about this, nor any of its vocabulary, I am a simple web coder, trying to figure my way on the universe! I'm trying to link dropbox on my server, I am ...
0
votes
0answers
10 views

wget mirror site with images stored on other different domains [duplicate]

I'm trying to wget mirror of site atompunk: # wget -l 2 -c -m "http://atompunk.tumblr.com" For me, it take only index. I'm interesting in pictures which is stored on the other domains... How? ...
0
votes
1answer
39 views

wget: 401 Unauthorized

I want to download an entire website that is protected by NTLM but it fails with: HTTP-Anforderung gesendet, warte auf Antwort... 401 Unauthorized Unbekanntes Authentifizierungsschema. ...
1
vote
1answer
267 views

wget is unable to resolve host address 80% of the time

I have a wget 'http://xxxx.net/somepage.asp?params@abc' in a bash file. When I run it, four out of five times it says: Resolving xxxx.net (xxxx.net)... failed: No address associated with hostname. ...
1
vote
3answers
116 views

Constructing URLs with a list of words and downloading from the URLs with command line

Suppose I have a list of words in a text file e.g: abstinence ; abuse ; academic ; accommodate ; accommodation ; accommodationist ; accomplice ; accomplish ; accord ; account ; accountable ; ...
1
vote
1answer
26 views

wget doesn't convert URLs properly when --convert-links is specified

According to the man pages, when I specify --convert-links to wget: After the download is complete, convert the links in the document to make them suitable for local viewing [...] Note that only ...
1
vote
2answers
40 views

Download all pages linked on a page in a certain region

I would like to download my users activity page of this Unix&Linux with wget and all pages that are linked in the activity list. I tried wget -m -l 2 which should mirror the site recursively ...
3
votes
4answers
179 views

Possible to download these webpages as a book?

I would like to download a SQL tutorial here http://www.w3schools.com/sql/default.asp, as a book with all linked SQL related sections. Here is my command wget -r -np -nH -p -k ...
0
votes
1answer
28 views

Mirror list of files

I've a list of URLs: https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.0/angular.min.js https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.2/js/bootstrap-select.min.css ...
-2
votes
1answer
76 views

Resume failed download using Linux command line tool

How to resume partially downloaded file using linux commandline tool. I downloaded large file partially i.e. 400MB out of 900MB due to power interruption, but when I start downloading again it ...
4
votes
2answers
7k views

Can't wget from github, sslv3 handshake error

We have a script that downloads mod security from github that has recently started failing. The servers run CentOS 6 but RHEL 6 probably has the same issue. The output is: # wget ...
3
votes
2answers
1k views

How to make wget download recursive combining --accept with --exclude-directories?

I'm trying to download some directories from an Apache server, but I need to ignore some directories that have huge files I don't care about The dir structure in the server is somewhat like this ...
3
votes
2answers
6k views

“Short write” error message with wget

I got the following error when trying to pull down a 300 MB ISO. It appears to pull down 25 MB then stop. Any idea what's going on here? ~ # wget ...
1
vote
1answer
69 views

Wget crawling without download file

I am just trying to count how many URLs match with the pattern x--*.html. In this case below all files that match are being downloaded. $ wget --random-wait --mirror --no-parent -A x--*.html ...
3
votes
4answers
4k views

How to download a folder from google drive using terminal?

I want to download a folder from my google drive using terminal? Is there any way to do that? I tried this: ‍ wget ...
0
votes
1answer
75 views

List of links to images in website with wget

I have a question, as much as I think I cannot think of the way to put all links of pictures in a list, I asked this question before but it was marked as duplicate to post where OP asked to download ...
0
votes
3answers
266 views

wget downloading tar.gz file as html?

I need to download this file http://download.oracle.com/otn-pub/java/jdk/7u67-b01/jdk-7u67-linux-x64.tar.gz using wget. I use the command wget ...
0
votes
1answer
18 views

allpackages.txt.gz has two different file-sizes?

I saw http://linux.koolsolutions.com/2008/12/19/counting-number-of-packages-under-debian-linux/ and I wanted to count the number of packages in testing. I tried as shared therein :- ...
0
votes
2answers
84 views

Get the file list in an HTML directory listing

I can get all files on the bash patches site by downloading them in a sequence: SEQ=$(seq -f "%03g" 1 30) for i in $SEQ; do wget http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-$i; done But ...
2
votes
0answers
88 views

Why can't I transfer a file via wget (FTP) using exec() function in PHP?

Put simply, I can't work out why the code below won't carry out a file transfer? I have been assured by the sysadmin staff on the remote server that there are no permissions/firewall issues that could ...
1
vote
0answers
38 views

How to abort wget after getting N times file not found?

I try to grab pictures from few galleries of some site. I do not know how many files are there, but I know the files are continuous named. So I use a regex like that: wget ...
1
vote
2answers
59 views

Can i capture and send GET requests with wget?

So, right now i am using Charles to do this and it works fine. But can i use wget to capture and send GET requests? I want to use wget and the command line because of the scriptability and ...
0
votes
1answer
78 views

curl wget - 403 Forbidden

I am trying to download a site as you see bellow with curl or wget but either one seems to work. I tried different options like "curl -k" seemed promising, but did not work. Every one is allowed to ...
3
votes
2answers
944 views

Convert links of downloaded website

I downloaded a website using: wget -c --mirror -p http://www.somewebsite.com for offline viewing and I just remembered that I forgot the --convert-links option! They are all on my hard drive right ...
0
votes
2answers
133 views

After downloading an .asp or .php file, can it be converted to a .html file? [closed]

I wonder if downloading files via wget and having them named .asp or .php means that I download the webpage? Aren't these executable files? If so, after downloading an .asp or .php file, can it be ...
2
votes
3answers
75 views

Count of several keywords on a site

I currently have the following command wget -O - -q http_url_goes_here | grep -Eci '(cart|shop|buy|order|store|shipping|products|price)' It gives me a count of ALL occurences of each of the ...
7
votes
3answers
4k views

How can I limit downloaded file size in wget?

I want to use wget (from a php script) to download image files, but don't want to download files over a certain size. Can I limit file size with wget? If not, what is a better way?
2
votes
3answers
93 views

How can I use wget to create a list of URLs from an index.html?

So wget has an ability to recursively download files, however it does it one file at a time. I would like to pass in a directory URL, and for each URL it encounters in the recursion for it to spawn ...
3
votes
1answer
431 views

Download only recently modified files with wget over FTP

When fetching recursively with wget from an FTP server, how can I download only files modified after a given date? The use case is that I need to sync with several servers nightly, but I only need ...
9
votes
1answer
13k views

How to wget a file to a remote machine over SSH?

I'd like to basically pipe a wget command to a file on a remote server over SSH. How can I do this? I know I could simply ssh into the server and have it download the file, but I'd much rather use the ...
0
votes
0answers
106 views

wget: Retrieving a list of URLs when modifying input data file on the fly

This issue is currently driving me up the wall. It just does not work as it should. I have a file inp with audio samples to download where I preserved the internal ID number by parsing some other ...
23
votes
4answers
10k views

Throttle the download speed of wget or curl while downloading

Is it possible to throttle (limit) the download speed of wget or curl ? Is it possible to change the throttle value while it is downloading ?
0
votes
2answers
204 views

wget download using list of urls

I'm trying to download several files with wget. The relevant URLs are stored in the file url.txt. When using the command wget --content-disposition -i url.txt it doesn't find the .txt file. Where do ...
2
votes
1answer
362 views

Resume mirroring via wget

I want to mirror all files for example KDEs to local directory. I used $ wget -m -P ./kde http://alien.slackbook.org/ktown/current/4.12.1/x86_64/kde/ But after a while it broke. To continue I ...
6
votes
2answers
2k views

How to download an archive and extract it without saving the archive to disk?

I'd like to download, and extract an archive under a given directory. Here is how I've been doing it so far: wget http://downloads.mysql.com/source/dbt2-0.37.50.3.tar.gz tar zxf dbt2-0.37.50.3.tar.gz ...
2
votes
2answers
588 views

How to optimize wget download script

Site contents <html> <body> <a href="http://www.sagar.com/" title="sagar">Sagar</a> <a href="http://www.sagarcom/1/" title="sagar1">Sagar Link1</a> ...
18
votes
1answer
795 views

What is the meaning of “+” in wget progress bar?

I'm downloading with wget using a slow link. Sometimes the progress bar looks like this: 15% [+++++++++++++++===> ] 10,582,848 --.-K/s in 82s What is the meanig of "+"?
4
votes
3answers
17k views

Set a network range in the no_proxy environment variable

I'm in a network using a proxy. I've got machines using lots of scripts here and there accessing each other over HTTP. The network is 10.0.0.0/8. My proxy is 10.1.1.1:81, so I set it up accordingly: ...