Skip to content
D

Down

Streaming downloads using Net::HTTP, http.rb or HTTPX

by jankoFree

#648in Entertainment
0In stores

Description

Down is a Ruby library for downloading remote files in a streaming, flexible and safe way. It can use open-uri with Net::HTTP, http.rb or HT…

Highlights

  • Backends: open-uri with Net::HTTP, http.rb or HTTPX
  • Downloads to a Tempfile with response metadata
  • max_size option that aborts oversized downloads early
  • Custom destination, extension and tempfile prefix
  • Basic auth from the URL and progress callbacks

Ratings & Reviews

No ratings yet

Be the first to rate Down.

People also visit

H

HTTP Downloader

Send URLs to the HTTP Downloader application for download

Utilities
Launch
Z

zerx-lab/FluxDown

Control the FluxDown multi-protocol download manager

AI Skills
Get
D

Downloader

Fast, cross-platform and reliable multipart downloader

Utilities
Launch
N

NZBGet

Fast, reliable, and feature-packed NZB downloader

Utilities
Launch
R

rDownloader

Local-first download manager with a web interface

Developer Tools
Launch
M

Moondownloader

Bulk file downloader for datanodes.to and fuckingfast.co

Developer Tools
Launch

Down FAQ

What is Down?

A Ruby gem for streaming and safely downloading remote files, with a choice of HTTP backends.

Which HTTP libraries does it support?

open-uri with Net::HTTP, http.rb, or HTTPX.

How does it protect against very large files?

Pass :max_size. Down stops as soon as the Content-Length header exceeds the limit, or once the downloaded content goes past it when the header is missing.

Can I save the file to a specific path?

Yes, use the :destination option. By default the file is returned as a Tempfile.

Can I track download progress?

Yes. :content_length_proc is called with the Content-Length value and :progress_proc with the current size as data arrives.

What are the best Down alternatives?

Popular alternatives to Down include Confluence and Smart Open. See all Down alternatives

Developer Stuff

Badges