WGET for Windows
! I) r; z( h' m3 g6 o0 i/ }6 E; L. W* D7 L! Z
Easily mirror http/ftp sites to your local hard drive" L$ u+ u) G- d- z0 R- j
0 J( |. t) W) C9 _. W- l
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. y; @: |0 j% P2 W9 e: W6 ~6 w) V
+ ^# ^8 [. a) i# Z' F
The unix version is available at ftp://sunsite.auc.dk/pub/infosystems/wget/.
i8 h v3 g T, t1 J# U
+ W$ B/ T# t, \9 p# e7 U- p) ^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.' e6 K) v" f7 I1 C, @5 R- l: c' s! F
/ K& ]% p+ w; o5 F
WGETRC file...
' N$ d( k8 O3 J3 J1 ~8 l0 eTo set up a .wgetrc file under windows, you have two choices# v. h. u! U' X1 u
1 H2 Q) }) C U3 n
Set an environment variable called "WGETRC" which points to the full pathname of your wgetrc file
. Z- _7 ?" G, L5 _" BSet 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'
3 m9 n9 s; k7 }6 FHeiko 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/.' T9 t1 h0 f6 N0 F" ?
n g: R" s. 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/.
! m2 P1 r% n! Q4 q: i4 w
! _4 q) R. q* U: _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.
2 f O9 Y/ y1 f2 W& z' _
; J9 h$ k3 L( r, IPlease 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.4 q& @/ ^; t) ?2 q8 w4 j
; G( b) S7 m- n8 Z: s. HThis page has been accessed
. B1 D. y! m7 v1 Y$ e8 q( I5 dtimes since May 12, 1997.
5 _. q! w+ ^& k, {( w* K5 T, }
5 R8 @; M' w. ~7 m6 w' ?Questions / comments / changes? Please contact me at tcharron@interlog.com
) v+ f9 n- T9 I- c0 k k
% u' _+ D6 K! N: s1 j
" ?6 [1 @6 q5 [9 C0 ]2 i; R( O q( b3 Q$ P+ Y% Z! I
哈哈哈,解决了一个技术难题,感谢北緯十九度同志 |