Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th August 2010
sharris sharris is offline
Package Pilot
Join Date: Jun 2010
Posts: 146
Default Can fetch do this ...?

Can fetch simply retrieve a website webpage with the HTML-XHTML-CSS source and save it to a file. I goggle all day about wget, curl but when it came to fetch absolutely no one said it does. The entire world only talk about ftp and files which I take "files" to mean txt, pdf etc. I read the FreeBSD handbook fetch section over 5 times thinking I miss the word "web-page" It was no where to be found. My BSD machines have not been connected for weeks for various reasons. Now it's 3:31am and I got to ask or crack. Common since say it should but can take anything forgranted.

Thanks in advance
Reply With Quote
  #2   (View Single Post)  
Old 19th August 2010
Beastie Beastie is offline
Daemonology student
Join Date: Jan 2009
Location: /dev/earth0
Posts: 307

fetch(1) only downloads single pages. You simply use it like this: % fetch http://google.com.
For recursive downloading you need an application such as wget. You use it like this: % wget --continue --no-parent --recursive --convert-links --progress=bar --tries=10 http://google.com.
If I missed your point do not hesitate to say so...
May the source be with you!
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
#portsnap fetch update (4342 updates!?) hatcreek FreeBSD Ports and Packages 3 7th February 2010 04:18 PM
equivalent to freebsd fetch pbd OpenBSD General 9 7th August 2009 11:45 AM
portupgrade -af, how to submit fetch options? bsdfan FreeBSD Ports and Packages 4 28th December 2008 09:05 PM
Customizeable FTP auto-fetch script (OpenBSD snapshot download as example) J65nko Guides 2 1st June 2008 03:29 AM
linux-flashplugin fetch error. bsdnewbie999 FreeBSD General 5 16th May 2008 05:40 AM

All times are GMT. The time now is 02:45 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick