Coder Social home page Coder Social logo

httpget's Introduction

httpget

httpget is a simple HTTP file retriever. It uses version 1.1 of the HTTP protocol, but should deal with responses generated by servers using earlier versions as well.

Supported HTTP features:

  • Chunked responses
  • Byte serving (continuing interrupted transfer)
  • Request redirection
  • Basic authentication

httpget was written solely for educational purposes and is distributed without any warranty.

Installation

$ make
# make install

Usage

$ httpget [option]... URL

This command downloads a file located at URL. Unless -o option is used, the last component of URL will be used for the local file name, or index.html if URL ends with a slash.

To get the list of all available options, type

$ httpget -h

Examples

  • Write the content of a HTTP file to stdout
$ httpget -o - example.com
  • Save the content of a HTTP file to example.html
$ httpget -o example.html example.com
  • Resume an interrupted transfer
$ httpget -o example.html -c - example.com
  • Disable redirections
$ httpget -r 0 example.com
  • Pass credentials and allow to forward them when redirecting to another host
$ httpget -u user:passwd -L example.com
  • Enable debug output (prints sent and received HTTP headers to stderr):
$ httpget -v example.com

Licensing

httpget is licensed under GNU General Public License, version 3. See COPYING for the full license text.

Authors

httpget was written by Vladimir Davydov.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.