freebsd-ports/misc/wmweather/files/patch-ab
Kris Kennaway 02878ac1ce Use passive-mode FTP to be nice to the firewalled folks.
Submitted by:	Niels Kroon <niels@hot.cl>
1999-04-25 03:23:53 +00:00

12 lines
453 B
Plaintext

--- GrabWeather.orig Wed Apr 14 22:58:15 1999
+++ GrabWeather Sun Apr 25 12:48:20 1999
@@ -49,7 +49,7 @@
# 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";
+ $GrabCmd = "fetch -p -q -o $home/.wmWeatherReports/$StationID.TXT $URL";
system "$GrabCmd";