Using wget

I am trying to get some files from the archive.freebsd.org/pub/FreeBSD-Archive and can not get wget to download any files. I get it to work for downloading files from freebsd 13.0 but not from the archive site. Does anyone know how to do it other than using google one file at a time.

root@car5:/home/carlos/Mnt # wget ftp//archive.freebsd.org/pub/Freebsd-Archive/ports/amd64/packages-11.1-release/All/*.tbz
wget: No match.

Carlos
 
there are multiple problems with that
archive.freebsd.org does not resolve
ftp url is misspelled - missing ":"
wildcard is expanded by the shell and you have no tbz files in your CWD

so no easy fix
 
While looking at man fetch.1 for an option like recursive or something similar (which I didn't find) I noticed a reference to this tool that I don't know anything about man phttpget.8 .
It has the following description :
The phttpget utility is a minimalist pipelined HTTP client, which is used
to retrieve multiple files from one server
I don't know if something can be done with it, if you guys have an idea ?

EDIT:
forget to say, also found an example:
 
As covacat already mentioned, the shell is going to expand that wildcard first before passing the arguments. Simple solution, quotes.

wget 'ftp://archive.freebsd.org/pub/Freebsd-Archive/ports/amd64/packages-11.1-release/All/*.tbz'

And keep in mind that these packages are old, FreeBSD 11.1 has been EoL for quite some time. And I do believe these packages were created when 11.1 was first released and have never been updated since.

Edit: So the URL is wrong. And looking on http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/amd64/ it stops after 9.2-RELEASE.
 
Back
Top