SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Sponsored Links

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

wgrab - A simple clone of Linux wget for most platforms. Copyright (C) 2005 Elden Armbrust

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

wgrab is a very simple wget clone, using the ptypes library for cross compilation on Linux and Windows, as well as possibly other architectures and OS' supported by ptypes.

wgrab --help output:

wgrab version 1.1.3 by Elden Armbrust
Usage: ./wgrab <address> [OPTIONS]...

Examples
./wgrab www.somesite.com #download the main index.html at www.somesite.com ./wgrab www.site.com/file.ext -o file.tld #downloads the file file.ext to local file file.tld
OPTIONS
-h, --help Displays this help screen. -o, --outfile <file> Writes output to <file> rather than the name on the server. -p, --port <port> Specify a nonstandard port to connect to on the server. -t, --timeout <time> Specifies the timeout (in milliseconds) to wait

for data before terminating. -i, --ignore-errors wgrab will ignore errors when attempting to download. -r, --rfc-version Specifies which http version to use, such as 1.0 or 1.1,

to format the request from the server. (EXPERIMENTAL) -q, --quiet Supresses output to the console for use in other processes.

<file> can be any file that is writable for you, otherwise the program will terminate and be generally very unhappy. <port> can be any standard port, but if you specify an incorrect port, it will currently just hang wgrab (indefinitely as far as I know...) <timeout> specifies how long to wait after connecting and between recvs before determining that the connection has failed or become otherwise dumb. rfc-versions: common versions are 1.0 and 1.1. wgrab defaults to 1.0

Please feel free to email me with suggestions or comments. I'm always looking for ways to keep and make wgrab smaller, so if you find a way, please let me know! Thanks.

For installation instructions and more verbose requirements, read the included INSTALL file.

For more information on ptypes, visit http://www.melikyan.com/ptypes/ and http://sourceforge.net/projects/ptypes/

Would you like to include wgrab with your project or linux distribution? No sweat! Just drop me a line and I'll happily say yes.

-Elden Armbrust
Lead Programmer/Project Manager, Xero-Soft Software & Services


Sponsored Links

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.