From owner-freebsd-questions Mon Mar 24 5:31:18 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 871A437B401 for ; Mon, 24 Mar 2003 05:31:13 -0800 (PST) Received: from cwe.compwest.com.au (compwest.com.au [202.72.147.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E23843FBF for ; Mon, 24 Mar 2003 05:31:11 -0800 (PST) (envelope-from paul@compwest.com.au) Received: from wks (ant.parkview.compwest.com.au [202.72.147.43]) by cwe.compwest.com.au (8.12.6/8.11.6) with SMTP id h2ODV5Gi020581 for ; Mon, 24 Mar 2003 21:31:07 +0800 (WST) (envelope-from paul@compwest.com.au) From: "Paul Hamilton" To: "Freebsd-Questions" Subject: Problems running wget on FreeBSD 4.7 Date: Mon, 24 Mar 2003 21:31:07 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Status: No, hits=-5.7 required=5.0 tests=MSGID_GOOD_EXCHANGE autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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