Storj client written in Golang
Although it seems reinventing the wheel, I made another Storj client to understand Storj's protocol. It’s still private beta but it works as the following screen shots.
create
command creates a new bucket with a given name.
upload
command uploads files in parallel. You can choose any shard size. In the screen shot, 8 MiB is used.
USAGE:
commands upload [command options] <bucket ID|name> <file path> [<file name>]
DESCRIPTION:
This command uploads a file to the given bucket with the given file name.
If the file name is omitted, the same file name of the uploading file will be used.
file-encryption.type and file-encryption.key in the config file will be used to
encrypt the given file. You can specify another encryption algorithm and key
with --enc-type and --enc-key flags.
OPTIONS:
--mime-type TYPE, -t TYPE MIME TYPE of the uploading file (if not given, detected automatically)
--enc-type TYPE, -e TYPE overwrite encryption type in config by TYPE
--enc-key Key, -k Key overwrite encryption key in config by Key
download
command downloads a file in parallel.
USAGE:
commands download [command options] <bucket ID|name> <file ID|name> [<dest path>]
DESCRIPTION:
This command downloads a file identified by the given bucket ID/name and file ID/name.
The downloaded file will be stored in the given dest path. If the dest path will
be omitted, this command stores the file in the current directory with the same
name of the downloading file.
file-encryption.type and file-encryption.key in the config file will be used to
decrypt the file. You can specify another encryption algorithm and key with
--enc-type and --enc-key flags.
OPTIONS:
--enc-type TYPE, -e TYPE overwrite encryption type in config by TYPE
--enc-key Key, -k Key overwrite encryption key in config by Key
list
and delete
commands show and delete buckets and files, respectively.
Thank you.upvote with resteem
Hello there, SexyWhaleBot is a powering-up bot designed to help minnows grow.
SexyWhaleBot provides:
In order to live up to his name, SexyWhaleBot once per day randomly selects and posts a compilation of sexy girls from its well-sorted libraries.
Take your chance and be among the first supporters of SexyWhaleBot – until the word is spread, it will be very easy to get the free upvotes and relatively easy to get the free resteems.
Have a sexy and profitable day! : ]
Congratulations @nemufox! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Do not miss the last post from @steemitboard:
Vote for @Steemitboard as a witness to get one more award and increased upvotes!