WGET for Windows% W) o7 O) l- @% k5 {) F/ A% e
8 k3 V: \# p7 S9 m6 ^% ~& L0 f
Easily mirror http/ftp sites to your local hard drive
; {& c) K7 v" f2 i! F
. G% l, u( f7 p" |7 XI 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.! Z* D. a+ Z* |
0 Z/ ]0 o/ Y/ g5 e. h6 D6 NThe unix version is available at ftp://sunsite.auc.dk/pub/infosystems/wget/., N7 \7 z0 W# I- J0 z0 x& k0 ?
: r( y9 B% I# i3 b+ ] rThe 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.
' b8 a% i5 Y) P7 I# u* x% Q; u! i8 m; s
WGETRC file...& g; ]( f3 s( s# t; b
To set up a .wgetrc file under windows, you have two choices
. U2 L7 ~* z6 ]& `: ]1 p. G( U! u, M7 w2 t0 V$ m: s/ K
Set an environment variable called "WGETRC" which points to the full pathname of your wgetrc file
: H' M5 X' m. B6 {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'% h5 N- C" e% \4 d- \5 [5 X
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/.
+ Z1 D) \8 n7 z/ ?/ {% D6 p2 G2 X" ^* T
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/.
5 \& G( p0 K! L/ |3 Q# l8 p! X+ ?6 m' m* K3 d& W J' n# s2 J
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.( L- T. }- s8 O8 g5 i# v0 V
& Q# b/ ?5 G$ w# e5 K
Please 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.8 ^' h( t4 ] h. N' h7 z
$ M4 j& G( X( \+ {' D' ZThis page has been accessed
2 u6 f( @% l$ @9 @% }& U+ h) htimes since May 12, 1997.# [* i% D6 m6 o. J) _
! z% ?$ I% t \& J$ O
Questions / comments / changes? Please contact me at tcharron@interlog.com
9 u* r# ^% ^" Y; z! `: {9 h# W: T) K( Z: q6 H5 i m9 I
1 ^6 A+ K" Y. m$ v
+ a {, v8 A6 \7 a% b哈哈哈,解决了一个技术难题,感谢北緯十九度同志 |