WGET for Windows( N7 T% k6 I' \" g8 C9 y- B
9 [ S+ w3 w% H& GEasily mirror http/ftp sites to your local hard drive+ E6 E- o4 y2 U% j% _* ]; ~
! F- t, K2 t4 `4 s; u3 Y3 X, CI 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.( d7 q- K1 p+ h# O& O
8 J/ Z8 K5 P0 p0 r. ]1 b' G* ~
The unix version is available at ftp://sunsite.auc.dk/pub/infosystems/wget/.
4 B4 J7 u8 {# ]
* U! J# p, W8 c8 a; BThe 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.
+ M& h8 @/ i; _& P& F0 Z2 C7 a% s4 H$ Z1 m3 i+ B: j
WGETRC file...
^8 _, o" L9 i4 _0 nTo set up a .wgetrc file under windows, you have two choices `# w3 x4 r, }* f0 J
% V1 A w5 Y6 S9 @4 aSet an environment variable called "WGETRC" which points to the full pathname of your wgetrc file
5 V$ k4 { z5 M& I! lSet 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'
2 M4 `* z8 n& c" c3 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/.! D$ ^) N0 a; z: J: Q! ^* }* ~
! e6 [( k- c1 H: v2 GDarko 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/.
# S/ C8 O! ?, a9 X: P4 b f( l& F/ 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.5 D6 h& x7 O+ W5 F7 D
/ I+ t5 P8 h9 `# m2 t, d& h/ E/ \
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.
2 D& c/ @5 s2 l6 p+ e
* ]* E3 d" D) V2 oThis page has been accessed* A+ s* {* | \1 g; f; R) }8 O
times since May 12, 1997.
: C7 Y4 ?9 f+ I$ q) p! P0 g6 D' ]
. k3 e; m9 B# m8 ]3 E, Q, H; {Questions / comments / changes? Please contact me at tcharron@interlog.com; Q& _! r; t; @, f: D8 g( Q( Z
' p/ ?! B% d1 j
5 p4 Q9 g3 Y& L: {9 x+ T9 t/ j6 `$ W; p! V! f3 I K
哈哈哈,解决了一个技术难题,感谢北緯十九度同志 |