WGET for Windows0 v4 V* Q5 r% j0 B4 d" G- m# X4 d
$ Z0 m* P8 {! N }
Easily mirror http/ftp sites to your local hard drive$ H$ s7 V* m3 o
& I1 X- E1 Q" q$ d9 g2 X7 vI 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.
8 l& s$ t+ T' u2 z( l. u& }
: e/ q% [; X6 y! P& zThe unix version is available at ftp://sunsite.auc.dk/pub/infosystems/wget/.
9 M6 Z3 x5 P6 O( ]! k# T! h
8 ~) V) E7 h" c+ s& jThe 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.% Z5 W2 b: H; ]3 V% ~
+ S8 \6 b' g. ?1 U
WGETRC file..." D& x" Q. H' m
To set up a .wgetrc file under windows, you have two choices& c( ^, h# P* i4 q; X% g
& }+ G! V! B" K$ b
Set an environment variable called "WGETRC" which points to the full pathname of your wgetrc file: D) U( Y. d0 b K
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'
8 a$ s3 H3 q7 R: b6 aHeiko 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/.+ g) @8 m) J9 v3 u4 L
& K7 `8 b& W- S: X9 G. v" NDarko 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/.
+ I! X: O9 p5 a1 v. W# R
; a0 w* q- o( ~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.1 }7 v4 u1 E- U+ z" g
9 _6 A" W4 v; N, t6 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.
9 w u% p: ?( W& @5 r& W
y+ J- z, m& {9 sThis page has been accessed
q, g6 ^# R, Ptimes since May 12, 1997.5 ]5 W9 T% D4 e0 m$ r
5 b' \, L3 x% z% ?+ R# o
Questions / comments / changes? Please contact me at tcharron@interlog.com# d, A4 ]% m' S- V! _$ O2 e8 i
1 t* z3 }9 E. R0 _3 ?
6 p, D; P; F+ B
2 ]' n7 _8 y. @- z- r. M哈哈哈,解决了一个技术难题,感谢北緯十九度同志 |