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

wget script exit abnormally with error 126

Can't seem to get this script to run, I have user access to the data I'm trying to download but it just won't run. If anyone can help with wget scripts it would be appreciated. for i in $(seq 1 9); ...
-2
votes
0answers
20 views

wget to upload file to HTTPS server

Is there any way to upload files to HTTPS server using wget or can we use curl to upload to HTTPs with certification. Any help would be appreciated
0
votes
2answers
30 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
1answer
33 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
22 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?
0
votes
0answers
18 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 ...
3
votes
2answers
29 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 ...
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 ...
0
votes
0answers
26 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
48 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
9 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
2answers
36 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 ...
0
votes
0answers
24 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
30 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
44 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 ...
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
95 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 ...
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
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
44 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 ...
0
votes
0answers
19 views

Make downloads in wget utilize full bandwith

I am using an app called WSUS to download updates for Windows and Office. It works fine, but the problem is that I am on a time-based connection and wget (what WSUS utilizes to download files) does ...
0
votes
0answers
38 views

Clone a GET request-based website

I'm trying to make a static clone of a website because it's running on some ancient CMS that's going to crash any minute now. I've tried using httrack and wget, but none of them work. The problem ...
0
votes
0answers
53 views

Downloading video using command line

I use right click on a button and select Download Linked File As to download a video file into my computer. I'd like to automatize it with scripts, so I opened the source code and copy the link ...
0
votes
0answers
18 views

Command to fetch a list of urls with connection keep-alive but fail on the first error (404/500)

I am trying to reproduce a potential bug in the Jetty web server with regard to serving static files. I need to repeatedly download a list of urls with "Connection: keep-alive" until one of them ...
2
votes
0answers
43 views

msys2 network performance woes

With a fresh install of msys2 32-bit (needed for git-annex) from https://msys2.github.io/ on Windows 7 SP1 64-bit, I'm seeing incredibly slow network transfer speeds on wget, ssh, rsync, etc. For ...
0
votes
3answers
81 views

How to download a file from URL in Linux

Usually one would download a file with a URL ending in the file extension. To download Ubuntu ISO, one would simple wget http://releases.ubuntu.com/14.04.3/ubuntu-14.04.3-desktop-amd64.iso ...
0
votes
0answers
27 views

OSX terminal : log on on a website

I would like to login/ out on a Web site using the terminal, I currently using a appleScript I wrote but was wondering can you use terminal command line instead (not running my script from terminal) ...
0
votes
0answers
46 views

httrack getting tumblr photoposts but not photosets; why?

I'm trying to save tumblr image posts. For a post with one image, like this http://textsfromthepurikyua.tumblr.com/post/124075150094/textsfromthepurikyua-image-cure-heart httrack -n gets that image. ...
0
votes
1answer
35 views

How to wget with pics on www.x.org/yy/index.php

I have an unusual case. I want to use wget to download all pictures on http://www.indyprojectseed.org/2011/index.php and all the other years. How can I do this, with a loop maybe? I am currently ...
0
votes
0answers
88 views

Download a single web page (including images from CSS)

I want to download a single web page including everything needed to view the web page locally (this includes images linked in the css). Example URL i want to download: http://www.example.com/page1 ...
0
votes
0answers
13 views

Indexing file resources from a website

How can I get a list of all (image) resources from a website? Is there a better wait than using wget and parsing the log stream in order to get the list of all images? Worst is, I'm pretty use I ...
0
votes
0answers
33 views

Improper clone of a site with wget

I was trying to clone the homepage of Google with wget as explained here, wget -E -H -k -K -p https://www.google.com/ But I am not able to clone an exact copy of the live Google page. Please refer ...
1
vote
1answer
14 views

How to handle Proxy with Sudo on VM

I have Ubuntu installed on a VirtualBox VM and I am using NAT. The host network requires NTLM proxy authentication to work. I tried export HTTP_PROXY=proxy.mycomp.com:80 & HTTPS_PROXY=$HTTP_PROXY ...
1
vote
2answers
49 views

Wget Bash Script File Not Found

I have the following script: for i in {1..16}; do $wget http://url/$i.jpg -O C:/Users/User/Desktop/Test/ done Saved the file as test.sh and run it within Git on windows. The files are live on the ...
-4
votes
1answer
20 views

How do I take a url and rename it to a .mp4 using wget? [closed]

Need help for a project and have a bunch of URLs that need to be renamed to .mp4 Here are some of them 1280x720.mp4 - 640x360.mp4 - 320x180.3gp
0
votes
0answers
64 views

Slow download over libraries on certain Windows systems

I am using custom libraries for file download (cURL and wget) on Windows client over HTTP from my server. On most of systems the download speed is as it should be - maximum determined by network ...
0
votes
1answer
43 views

Does wget -O always write a zero byte file on failure or can it be a different size?

When using wget's -O flag, the program writes a bunch of zero byte files when it fails. My question is, will the size always be zero? Or, can a non-zero byte file also be created when a download ...
0
votes
0answers
22 views

wget on Windows - same file keeps getting overwritten

I'm using wget on Windows 7. I'm downloading a lot of files such as this: http://stats.grok.se/json/en/200712/Wikipedia:WikiProject%20Video%20games except that I am changing the date each time. The ...