wget的安装(http://isv.sun.com.cn/skill/let-solaris-fly.html) wget 是gnu组织下的一个免费软件下载工具,用 wget下载软件比普通浏览器的“另存为”要快很多。同时,wget支持http,https和ftp。 缺省情况下,Solaris已经 自带了该软件,在 /usr/sfw/bin/目录,请把这个路径也设置到环境变量中,因为pkg-get要使用wget来下载软件。 wget的使用方法非常简单,只需要在命令后面加上下载的地址,例如: #/usr/sfw/bin/w...
wget ftp://ftp.xxx.com/pub/xxx/datfiles/4.x/xxx --14:27:45-- ftp://ftp.xxx.com/pub/xxx/datfiles/4.x/delta.ini =>; `delta.ini' Resolving ftp.nai.com... done. Connecting to ftp.nai.com[161.69.201.237]:21... connected. Logging in as anonymous ... Logged in! ==>; SYST ... done. ==>; PWD ... done. ==>; TYPE I ... done. ==>; CWD /pub/antivirus/datfiles/4.x ... done. ==>; PORT ... done. ...
用wget下载的脚本如下 #!/bin/bashwget -b -q http://live-android.googlecode.com/files/liveandroidv0.2.iso.002wget -b -q http://live-android.googlecode.com/files/liveandroidv0.2.iso.001 -b表示后台运行 -q表示不显示下载记录 注意,脚本的运行需要给运行的权限 chmod u+x filename.sh 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/46640/showart_1996628.html
我的unix 系统装 wget 1.5.3 没问题 但是装 wget 1.6 版本以上的就报错, 是怎么回事啊? make install cd src && make CC='cc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H -DSYSTEM_wgetRC =\"/usr/local/etc/wgetrc\" -DLOCALEDIR=\"/usr/local/share/locale\"' CFLAGS='+O3 ' LDFLAGS='' LIBS='' prefix='/usr/local' exec_prefix='/usr/local' bindir='/usr/ local/bin' infodir='/usr/local/info' mandir='/usr/local/man...
wget是一个从网络上自动下载文件的自由工具。它支持HTTP,HTTPS和FTP协议,可以使用HTTP代理. wget可以跟踪HTML页面上的链接依次下载来创建远程服务器的本地版本,完全重建原始站点的目录结构。这又常被称作”递归下载”。在递归下载的时候,wget遵循Robot Exclusion标准(/robots.txt). wget可以在下载的同时,将链接转换成指向本地文件,以方便离线浏览。 wget的常见用法 用wget做站点镜像: wget -r -p -np -k http://dsec.pku.ed...
window 下運行apache ,裝了wget 想extract一d stock code data 這是cgi文件的extract data 的語句 wget -O --o /dev/null http://www.quamnet.com/fcgi-bin/qlive3.fpl\?code=$stockcode\&button=Quote 這句在unix環境下運行正常,但是在windows下就出現問題 1)網址中包含&字元,後面讀取不了 2)HTTP request sent, awaiting response... 403 Forbidden 結果extract唔到data , 應該怎樣寫才行?