Using .htaccess on Windows OS “rss feed subsrcibe” on browser
Nov 252008

i wanna share manual for use wget tool here.. but im sorry about my bad language.. hehehe…

may be some of you had know about this tool and how to use it.. ^^

it think this tool is a nice tool for downloading resources from the internet. this is basic how to use wget:

wget http://example.com

it will download index file from the site..
option -r

# wget -r http://example.com

it will download all of file in the site.. the tool will find linked on  front of page and get all page there.. but some sites do not want you to download their entire site. you may get message like :

“sorry but the download manager you are using to view this site is not supported. bla bla bla.. ”

to bypass this warn you must add -U option followed a User-Agent.. like this..

option -U

# wget -r -p -U Mozilla http://example.com

option -c

# wget -c http://example.com

this option will to continuing download when download break couze bandwith isn’t stable..

option -b

# wget -b http://example.com

this option will download index of site in background.. so you can leave your download when download in progress.. you can combine option -b and -c,, if you combinin it.. you can download it more secure coz when you dont know the connection trouble.. wget will continung from last downloaded… exmample:

# wget -bc http://exemple.com/file/create.zip

option –limit-rate

# wget -c –limit-rate=5K http://example.com/file/create.zip

this option will limiting your speed to 40Kbps, why 40Kbps??? coz 1KB = 8Kb so if speed 5KB = 40Kb.. ^^ if this option combined with –wait=10 it mean you will to pause 10 second when you’ll retry your download. example:

# wget –wait=10 –limit-rate=2K http://example.com/file.zip

this is last way for my trick in wget manual

# wget -r –l0 –nc –A htm,html,gif,jpg,jpeg,png,zip,fla,swf htp://example.com

there are many option there.. and i’ll explain 1 by 1..

$ Op -r we had explained it before.

$ Op -l0

this mean level of links.. when you download entires of site.. you’ll see homepage.. that mean you download level 0 (zero). then if on front of page there is link. and the wget download page of that link, so you have downloaded level 1.. and etc.. ^^ option -l usually combine with option -k.. what for it? this option will create link in directory local in your machine (PC) so when you click links offline, links will
work like when you click that link when you are online.. you can try it for to know how its work..

$ Op -nc

with this option when connection’s break then the download stoped.. and leave part of your download. then you exe again wget tool so wget want touch part of your file had downloaded before.. then wget will contunuing download..

$ op -A

this option will make list of extensi can download by wget.. option -A followed list of extention of file.. ^^

Ok,, enough for this time.. i’ll make other trik next time..
have a nice day… ^^ and i hope this manual can help you.. ^^

Practice can be fun
  • Facebook
  • Twitter
  • del.icio.us
  • MySpace
  • Digg
  • Mixx
  • StumbleUpon
  • Yahoo! Buzz
  • Google Bookmarks
  • Print

Leave a Reply

(required)

(required)