WGET for Windows* T0 w# I; \( X g$ ^( C% i! I
1 a+ {, e8 a/ c$ f1 }# GEasily mirror http/ftp sites to your local hard drive
j2 B( f3 C* ?# i% E7 v2 b7 w9 U
I searched for some time for a utility that would let me mirror a remote http site to my hard drive with Windows 95. While there are several utilities to do this, I couldn't find any that I liked. Specifically, I wanted to be able to do it from the command line so that I could call it from a script, and I wanted duplicate files on my local drive for subsequent processing by another application. When I found wget for the unix environment, I decided to port it to Windows.3 |% W! E9 U5 s" \/ G! U" k# d( d% u" W: }
7 D7 m) f: Y) }( b0 l% ~, \% Y% SThe unix version is available at ftp://sunsite.auc.dk/pub/infosystems/wget/.
) g' Q% z; l9 m9 |5 L3 y$ E: @
. Y8 s, t2 A: R$ mThe most recent version I compiled is wgetwin-1_5_3_1-binary.zip. Version 1.5.3 of wget compiles cleanly for windows. To compile it yourself, you will also need to get wget-1.5.3.tar.gz. This 1.5.3.1 includes some additional changes to allow downloading of URLs that have '?' or '*' in their name. This compile was created on July 1, 1999.
7 o" \/ g3 Q* n. y
: v7 N7 l. k0 b8 X: \WGETRC file...: t9 K2 v/ q. i! U
To set up a .wgetrc file under windows, you have two choices' W9 c% @) E7 `2 h- C
# F2 w# G# `! DSet an environment variable called "WGETRC" which points to the full pathname of your wgetrc file* S% d8 ]0 l' V/ `4 m! q# r; ]
Set an environment variable called "HOME" (if it doesn't already exist) pointing to a directory. Put your wgetrc file in this directory, and call it 'wgetrc'
; I5 T3 X9 R1 wHeiko Herold has been diligently providing updated wget binaries for the windows platform as changes to the wget source archive are available. You can almost surely find a newer version of wget than I have available here. See http://www.geocities.com/heiko_herold/.( r5 O3 A1 r/ X
- L! k8 a1 M2 C3 W0 h4 ^
Darko Budor did some work porting 1.4.5 to windows. His page (including a 1.4.5 binary) is at http://diana.zesoi.fer.hr/~dbudor/wget/.% _1 d4 W4 R" ? z& R) n
% K, S8 {# Z" g- nLachlan Cranswick has created a compilation of many wget pages, and some good tips for getting wget working well at http://www.dl.ac.uk/CCP/CCP14/mirror/wget.htm . He actually mirrors all the sites there as well, and he's on the European side of the atlantic.
+ M* N9 [$ V: g$ M1 \# {5 L
2 H1 Q" ^9 A B4 OPlease don't email me for wget support. Although I've compiled it, I'm only a novice user of it. There is a wget mailing list. It is archived at http://fly.cc.fer.hr/archive/wget. To subscribe to it, send email to [email protected] with the word subscribe as the subject.7 L( n: Q) m4 z% m
1 F5 K: o2 w6 R6 OThis page has been accessed
! ~5 N4 h6 I) F& Wtimes since May 12, 1997.
3 e" R2 X5 ?1 Q# L+ t" t7 G1 j& i2 ~
Questions / comments / changes? Please contact me at [email protected]
( e2 C G6 P$ s
8 [0 M2 z4 B! f& m2 H$ v/ a4 M7 \' X! `! p. o" q
7 E# v% l& P4 q
哈哈哈,解决了一个技术难题,感谢北緯十九度同志 |