$NetBSD: patch-ab,v 1.3 2002/01/19 15:31:44 jlam Exp $

--- GrabWeather.orig	Fri Apr 16 17:41:53 1999
+++ GrabWeather
@@ -38,19 +38,17 @@
 
     $StationID    = $ARGV[0];
     $HTMLFileName = "$StationID.TXT";
+    $FTP          = "ftp -V -r 5";
     $URL          = "ftp://weather.noaa.gov/data/observations/metar/decoded/$HTMLFileName";
     $DataFileName = "$StationID.dat";
 
 
 
 
+    # $FTP must be able to fetch URLs.
     #
-    #  I think some of these wget command line options may cause problems
-    #  for some people? Dont know why... (Perhaps they have a ~/.wgetrc file
-    #  that overrides command line options?).
-    #
-    $GrabCmd = "wget --proxy=off --passive-ftp --tries 0 -q -O $home/.wmWeatherReports/$StationID.TXT $URL";
-    system "$GrabCmd";
+    $GrabCmd = "$FTP -o $home/.wmWeatherReports/$StationID.TXT $URL";
+    system "$GrabCmd 2>/dev/null";
 
 
 
