titan-cli
is a command-line interface tool for interacting with the titan network.
» titan-cli --help
NAME:
titan cli - titan's toolset
USAGE:
titan cli [global options] command [command options] [arguments...]
COMMANDS:
download, d get file from titan network
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help
Export the titan locator address.
export LOCATOR_API_INFO=https://39.108.143.56:5000
Use the download command to fetch the desired file. Specify the CID with the -c flag, and the output file location with the -o flag.
titan-cli download -c QmXRrLjxgHd2Ls8jFZby2fx2wQuuqBkamQE8ibY6TnREA4 -o /tmp/QmXRrLjxgHd2Ls8jFZby2fx2wQuuqBkamQE8ibY6TnREA4.zip