From owner-freebsd-questions@FreeBSD.ORG Wed Mar 26 04:29:02 2003 Return-Path: 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 811EF37B404 for ; Wed, 26 Mar 2003 04:29:02 -0800 (PST) Received: from cwe.compwest.com.au (compwest.com.au [202.72.147.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E70043FA3 for ; Wed, 26 Mar 2003 04:28:58 -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 h2QCSsGi026664 for ; Wed, 26 Mar 2003 20:28:55 +0800 (WST) (envelope-from paul@compwest.com.au) From: "Paul Hamilton" To: "Freebsd-Questions" Date: Wed, 26 Mar 2003 20:28:58 +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=-8.8 required=5.0 tests=MSGID_GOOD_EXCHANGE,ORIGINAL_MESSAGE autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Re: Problems running wget on FreeBSD 4.7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 12:29:04 -0000 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@FreeBSD.ORG [mailto:owner-freebsd-questions@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@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message