Date: Mon, 24 Mar 2003 21:31:07 +0800 From: "Paul Hamilton" <paul@computerwest.com.au> To: "Freebsd-Questions" <freebsd-questions@FreeBSD.ORG> Subject: Problems running wget on FreeBSD 4.7 Message-ID: <AGEHIFHGNEMPFNCPLONMAEHGEGAA.paul@compwest.com.au>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AGEHIFHGNEMPFNCPLONMAEHGEGAA.paul>