Skip to content
/ ralad Public

simple http downloader with interactive redirect behaviour

Notifications You must be signed in to change notification settings

sstark/ralad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ralad

Simple http downloader. Its main feature is that the user has to agree with each redirect interactively.

Usage

ralad [flags] url

Flags:
-o string
        output file name (use - for stdout)
-q      show only errors (implied by -o -)
-rdisplay string
        redirect display: full|part|truncate (default "truncate")
-rpolicy string
        set redirect confirmation policy: always|relaxed|never (default "relaxed")
-unsafeTLS
        ignore TLS certificate errors

Ralad tries to figure out a useful output file name if the server does not supply a good one already, and option -o was not used.

Example

ralad https://github.com/sstark/snaprd/releases/download/v1.3/snaprd-1.3-linux-x86_64.zip
redirect to https://github-production-release-asset-2e65be.s3.amazonaws.com/1515...? (y/n) y
 1.44 MiB / 1.44 MiB ▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰ 100.00% 2.10 MiB/s 0s
1505790 bytes written
$ ls
snaprd-1.3-linux-x86_64.zip

About

simple http downloader with interactive redirect behaviour

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages