I figured I would give everyone an update on the wget situation.
I am still having problems. The result is this long post.
I decided to try to compile my own version from source, but could not get it to complete. The compiler would complain about not finding something; I would find whatever it was looking for and put it in a directory that I thought it needed to be in, and it would continue. Until it found another thing it needed. Rinse, repeat. Eventually, it hit some kind of error that I could not figure out (I forgot what it was and have since given up on compiling it.)
I then tried the wget-static version 1.19.4 suggested by dexter1. I managed to use the Software Manager to install it (where it complained as predicted; but I just told it to ignore the thing it was complaining about, and wget-static installed.)
However, when I try to use it to pull stuff from the Mac, it does this (I edited the user, password, and host address):
/usr/nekoware/bin/wget-static -r -nH -l 20 -d --cut-dirs=0
ftp://user:password[at]10.100.100.99//tncm_lb01
Setting --cut-dirs (cutdirs) to 0
Setting --cut-dirs (cutdirs) to 0
DEBUG output created by Wget 1.19.4 on irix6.5.
Reading HSTS entries from /usr/visual/.wget-hsts
URI encoding = 'ISO8859-1'
logging suppressed, strings may contain password
Converted file name 'tncm_lb01' (UTF-8) -> 'tncm_lb01' (ISO8859-1)
Using '.listing' as listing tmp file.
--2018-12-06 20:19:06--
ftp://user:*password*[at]10.100.100.99//tncm_lb01
=> '.listing'
Segmentation fault (core dumped)
Before I go any further, I want to point out that I also found an already compiled binary of wget version 1.8.2. I don't recall where I found it, but it actually works. The only thing is, that version does not have the --preserve-permissions option. So when I pull directories from the backup disk on the Mac, the permissions get changed, and the proprietary software that I need won't rebuild. I found out what was wrong, and fixed the permissions, and it does build after that, but that is a step that I would rather not have to take. The already compiled version on the Mac is 1.11.4, and it works also, and has the --preserve-permission option. I would like to have that option on the O2 on the other end, if I can.
I also found a compiled version 1.10.2
It does this when I try to use it:
usr/local/bin/wget --version
2457:usr/local/bin/wget: rld: Fatal Error: Cannot Successfully map soname 'libssl.so.0.9.7' under any of the filenames /usr/lib32/libssl.so.0.9.7:/usr/local/lib/VsuCNAirport/libssl.so.0.9.7:/usr/local/lib/libssl.so.0.9.7:/usr/lib32/internal/libssl.so.0.9.7:/lib32/libssl.so.0.9.7:/opt/lib32/libssl.so.0.9.7:
Another already compiled version 1.14 does this:
wget_1.14 -r -nH -l 20 --cut-dirs=0
ftp://user:password[at]10.100.100.99//tncm_lb01
--2018-12-06 19:55:21--
ftp://user:*password*[at]10.100.100.99//tncm_lb01
=> '.listing'
2433:wget_1.14: rld: Fatal Error: attempted access to unresolvable symbol in wget_1.14: getaddrinfo
I then tried to do what Unxmaal suggested. Since my O2 cannot connect to the internet, I used the Mac to do that. I had to modify the procedure slightly to make it work, but I did manage to get all the distribution packages or dependencies downloaded to the Mac, which I then used the wget 1.8.2 on the O2 to pull them to the O2, where I used the Software Manager to massage the installation of everything, which worked. I was surprised by that.
But when I try to use it, it does this:
/usr/nekoware/bin/wget -r -nH -l 20 -d --cut-dirs=0
ftp://user:password[at]10.100.100.99//tncm_lb01
Setting --cut-dirs (cutdirs) to 0
DEBUG output created by Wget 1.11.3 on irix6.5.
Using `.listing' as listing tmp file.
--2018-12-06 00:46:39--
ftp://user:*password*[at]10.100.100.99//tncm_lb01
=> `.listing'
Trace/BPT trap (core dumped)
I then figured that maybe the 1.19.4 version could be re-installed, since all those other packages were now on the disk. But they apparently are not what it needs, as it still won't finish the install unless I tell it to ignore the conflicts.
The ftp version of the wget command is the one that works both ways, and does exactly what I need it to do, except for messing up the permissions. The http does not function in either direction, for reasons that I do not know. But since it works ftp-wise, I guess it doesn't matter.
So, the TL;DR version is: is there an already compiled version hiding somewhere that will actually work for me? Or is there a way to make 1.19.4 or 1.11.3 work correctly? (I am giving up on the other 2 varieties, since there seems to be nothing there except the binary. So probably no way to make any changes there.) Or, a way to actually make it compile from scratch from the source?
Alternatively, I guess I will just use the 1.8.2 version on the O2 and be glad that at least that works, even though I will have to manually change permissions on several files after pulling them back from the backup.
This whole process has been interesting, frustrating, and somewhat fun. It would be more fun if it would do what I want.
Thanks for all your ideas and help!
==Dave
(I had to use [at] instead of the normal "at" symbol, as it would not let me post otherwise, saying I was including contact info.)