New answers tagged wget
This is how I authenticate on some sites with wget. wget --user=username --ask-password url_here/file.bar The --ask-password parameter asks you for a password. Be sure to replace username with your actual username and change the url according to your needs. I think you cannot use wget to access the mentioned apple site.
Destination directory You can use the -P prefix / --directory-prefix=prefix option to direct wget to save to a certain directory. Set directory prefix to prefix. The directory prefix is the directory where all other files and subdirectories will be saved to, i.e. the top of the retrieval tree. The default is . (the current directory). Example to ...
Thanks to RedGrittyBrick, the access log allowed me to see it wasn't even hitting the machine. I found out in /etc/hosts I was resolving an incorrect hostname to the IP. Even though the message was sent to the correct IP, I guess the DNS did not like the incorrect hostname that may have been in the headers.
yumdownloader is also a script (for manaul "downloading" (--download-only and /or --downloaddir=foo usefull for source build/downloading
Starting from version 1.16, --start-pos. From the man page: --start-pos=OFFSET Start downloading at zero-based position OFFSET. Offset may be expressed in bytes, kilobytes with the `k' suffix, or megabytes with the `m' suffix, etc. --start-pos has higher precedence over --continue. When --start-pos and --continue are ...
It looks like: your wget is old and buggy, it doesn't have HTTPS support, server sends a malformed redirection. So it's treating https://foo as if it matched the host:path shorthand syntax for ftp URLs. So if this command fails for older versions of wget, try to upgrade your wget. The more recent versions of wget should recognize it at least as an ...
Using GNU WGet the following command worked after I got a message about a certificate error: wget --no-check-certificate "http://wordpress.org/latest.zip" Using a cURL version with SSL support also works: curl --insecure "https://wordpress.org/latest.zip" -o wplatest.zip
With the new version of Wget, it's default encryption type was SSL3 rather than TLS1.0, which is what the site uses. --secure-protocol=TLSv1 made everything work just fine :)
Top 50 recent answers are included