WGET for Windows
$ j) V/ @# Z' [1 g& ?3 n( c3 z* x7 R: o) f& z) g B8 O
Easily mirror http/ftp sites to your local hard drive/ n! N: m/ Z( g0 b E8 V6 Z
; c8 t* H8 h' R C r8 M
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.6 Q- Y. m1 B8 E- I
6 g4 O! z5 L( Q* R/ Z
The unix version is available at ftp://sunsite.auc.dk/pub/infosystems/wget/.1 O0 M3 ?. m7 ?
1 i @& M: E$ l' C9 OThe 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.
2 t- B8 {2 P; O# E
' H0 m" a' u' }" ]+ UWGETRC file...
- {3 h. |0 _2 g% yTo set up a .wgetrc file under windows, you have two choices, p! X0 A% o0 R
9 l( D5 P3 n" v9 w; c# O% R7 n) o
Set an environment variable called "WGETRC" which points to the full pathname of your wgetrc file t0 C o8 {5 u
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'6 }2 `1 t" P }' d
Heiko 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/.
0 V |. [7 {- z4 X/ I; b" w' s% D; T+ H9 t' t) z7 m
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/.
0 ^3 V0 f' I* _' I$ F8 K# K& ~$ ]1 G$ F/ \. O) \- G! j& B
Lachlan 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.8 W6 }) h8 a4 L8 ~
& v9 s6 j7 h1 c2 |, d% fPlease 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 wget-subscribe@sunsite.auc.dk with the word subscribe as the subject.
$ ^1 J. t8 f/ P$ ^
0 I( W" R0 O0 Z R) J4 |This page has been accessed
# x6 O! T# ~: ^: a3 j3 Wtimes since May 12, 1997.
1 n4 s5 c. ^9 ]6 O9 \) A: H/ A" z) r6 u" K0 x3 \
Questions / comments / changes? Please contact me at tcharron@interlog.com7 i, L: y# N, e% t. O
8 ~. z! t% H) u- J# K8 q
' ~' C1 H+ V, R, @- Y# y7 T2 [. v* X' s& C" c9 b
哈哈哈,解决了一个技术难题,感谢北緯十九度同志 |