华强北电脑城 龙岗电子世界 龙华电脑城  凯尔电脑

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2067|回复: 0

Easily mirror http/ftp sites to your local hard drive

[复制链接]
发表于 2012-3-6 23:21:21 | 显示全部楼层 |阅读模式
WGET for Windows1 D  C( y6 `3 H
* ^" ?2 e) |9 {( S1 V
Easily mirror http/ftp sites to your local hard drive/ I5 L# {$ |  O6 Z: N
- ]& p8 {+ R" I) u6 l6 U6 ^; ~
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.; @% V0 f. r4 L% u- D2 q. t0 _8 i

+ d* M; c% b! yThe unix version is available at ftp://sunsite.auc.dk/pub/infosystems/wget/.
" p% ^+ Z- [6 L# H. y
5 M' M/ {& W: L& H" G, n0 `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.- M+ T5 L* s+ O1 ]9 o4 A

! m2 _1 ^; c  x: L" L: m, NWGETRC file...
1 c- a" }& ^. a6 Y4 r" l# ITo set up a .wgetrc file under windows, you have two choices+ O, o! K3 m% D! E6 C5 f0 \
) I3 Z; K  K# [, Y- e
Set an environment variable called "WGETRC" which points to the full pathname of your wgetrc file
7 ^. ~2 s6 v, `# m& }9 ESet 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'
9 F/ T2 x1 G4 Z% ]; t9 GHeiko 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/.8 Z0 Q5 T, |: m' @9 M
0 w8 T$ [- C% h: D
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/./ ]4 ~0 Y- I* Y4 |- W7 ~3 r
  Q/ R6 D0 y' e! R2 ?2 \* m
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.
+ d7 ?" ^5 o; V/ S
2 _* |0 U$ O! Y( _# s1 h, QPlease 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.
/ O& |( r, p* {2 @6 F6 e6 V' N7 h2 R$ t1 i
This page has been accessed
6 s7 ^$ g; e8 Mtimes since May 12, 1997.
& [; k4 S, `. [  W' E0 T, U6 K3 d7 L& k
Questions / comments / changes? Please contact me at tcharron@interlog.com
6 h' v: W9 z4 O3 J. {2 }7 e. ^2 S4 b
0 T$ N5 m0 V5 ?0 w# [5 e: V

9 d; P9 M; G# `+ g; [哈哈哈,解决了一个技术难题,感谢北緯十九度同志
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|华强北 电脑城 龙岗电子世界 龙华电脑城 pc4g.com ( 粤ICP备16039863号 )

GMT+8, 2024-9-20 03:46 , Processed in 0.167762 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表