Problems running wget on FreeBSD 4.7
Paul Hamilton
paul at computerwest.com.au
Wed Mar 26 12:29:04 PST 2003
Just out of interest to anyone trawling the archives, I have found a
work-around.
Instead of using:
"ftp://ftp.nai.com/pub/antivirus/superdat/intel/sdat4???.exe"
Use this instead:
"ftp://ftp.nai.com/pub/antivirus/superdat/intel/sdat4*.exe"
Test ok on Wget 1.8.2_1!
Cheers,
Paul Hamilton
-----Original Message-----
From: owner-freebsd-questions at FreeBSD.ORG
[mailto:owner-freebsd-questions at FreeBSD.ORG]On Behalf Of Paul Hamilton
Sent: Monday, 24 March 2003 9:31 PM
To: Freebsd-Questions
Subject: Problems running wget on FreeBSD 4.7
Hi all,
I have two different versions of wget on different FreeBSD 4.7 (upgraded)
servers. They all run, but one of them:
# pkg_info -r wget-1.8.2_1
Information for wget-1.8.2_1:
Depends on:
Dependency: libiconv-1.8_1
Dependency: expat-1.95.5
Dependency: gettext-0.11.5_1
has problems with the '--glob=on' option. I use a script to download
McAfee files, the relevant line is:
/usr/local/bin/wget -nr --glob=on -N --passive-ftp
"ftp://ftp.nai.com/pub/antivirus/superdat/intel/sdat4???.exe"
Which when run gives:
-----------------------------------------------------------------
--21:19:27-- ftp://ftp.nai.com/pub/antivirus/superdat/intel/sdat4???.exe
=> `.listing'
Resolving ftp.nai.com... done.
Connecting to ftp.nai.com[161.69.201.238]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/antivirus/superdat/intel ... done.
==> PASV ... done. ==> LIST ... done.
[ <=> ] 157
153.32K/s
21:19:31 (153.32 KB/s) - `.listing' saved [157]
--21:19:31-- ftp://ftp.nai.com/pub/antivirus/superdat/intel/sdat4???.exe
=> `sdat4???.exe'
==> CWD not required.
==> PASV ... done. ==> RETR sdat4 ...
No such file `sdat4'.
-----------------------------------------------------------------
Which when run using wget-1.7_3 I get:
-----------------------------------------------------------------
--21:21:39-- ftp://ftp.nai.com/pub/antivirus/superdat/intel/sdat4???.exe
=> `.listing'
Connecting to ftp.nai.com:21... connected!
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/antivirus/superdat/intel ... done.
==> EPSV ...
Cannot initiate EPSV transfer.
==> PASV ... done. ==> LIST ... done.
0K @ 153.32 KB/s
21:21:45 (76.66 KB/s) - `.listing' saved [157]
Removed `.listing'.
Remote file no newer than local file `sdat4253.exe' -- not retrieving.
-----------------------------------------------------------------
Which is ok, as I already have downloaded it.
My question is (eventually), has the globing function changed between the
different versions, or is the globing function broken? Or am I missing
something deeper?
Cheers,
Paul Hamilton
To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
More information about the freebsd-questions
mailing list