WGET for Windows
$ G) a/ x Y, K7 M2 h$ A& n$ y/ [- G9 C5 `4 D
Easily mirror http/ftp sites to your local hard drive
+ s1 B0 h# i3 A4 R( ?$ A. _; W. n
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.- N( Y& R4 B# L! q3 i# f
2 ^7 @) p, d1 U, D& n( t( rThe unix version is available at ftp://sunsite.auc.dk/pub/infosystems/wget/.
! ?. C; g* W3 H- d: N( Q- X! Y4 n# U9 P( A; A5 J+ E1 b2 @
The 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.4 k3 H2 x* L' A( I. b4 }4 @
* M: {4 T' C* l/ J( G7 S
WGETRC file...
& \, @8 [1 }" Z) Z* bTo set up a .wgetrc file under windows, you have two choices
) a* t" s# ^8 V6 X) H- E4 d, H6 H
Set an environment variable called "WGETRC" which points to the full pathname of your wgetrc file
: z; {# Q1 f/ Z$ G4 ? ~$ MSet 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'
+ s! F; O# a9 Z0 bHeiko 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/.
% t1 Z, B0 q" d- p6 ~) B
. r, E3 ~+ n: E" b0 D9 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/.- u4 G( n2 B9 m4 Q2 m
3 j' O( H0 k* ~4 C' s
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.( M9 Y, \- a$ l9 W
: z& e( A: Q# ~) j1 ^) L2 G* KPlease 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.0 f* Y6 e' P7 W% n
* \( g9 L2 B1 Z- ^) F4 M jThis page has been accessed& j( `/ ?* s: |) c. d/ R y
times since May 12, 1997.
6 j# R0 e, n; o( D6 T! ?: p
, f6 F) M: W8 n0 m& JQuestions / comments / changes? Please contact me at tcharron@interlog.com
B4 i& V3 p4 O: w2 k. v+ I3 e3 J
b8 W3 Q5 e9 u X- H2 l, _! S8 w0 S: n Q( p% G
) ~( @; `# J. L' t3 _8 ~哈哈哈,解决了一个技术难题,感谢北緯十九度同志 |