Skip to main content

Tool to upload file to Qiniu cloud

Project description

Install

This Tools can help you to upload your file to QiNiu cloud storage. You can install this easily,

python setup.py install

Also can install it via pip:

pip install qnupload

Help

And you can get help message by run:

qnupload -h

Configuration

Add some basic configuration items in

/etc/qnupload/qnupload.conf

Choose a bucket as default:

default_bucket_name = Bucket1

Set the access key and secret key, can get them from Qiniu Cloud

access_key = your_access_key

secret_key = your_secret_key

Set domain for each bucket, the domain can get form the bucket setting on your Qiniu account

[Bucket1]

domain = domain1

[Bucket2]

domain = domain2

Basic operation

After set the bucket, access key and secret key, then you can upload file with qnupload:

qnupload File_Path

If you have several buckets in the configuration, but you want upload the file to a non default bucket, you can use -b:

qnupload File_path -b another_bucket

You can choose several files or directories one time:

qnupload File1 File2 Dir1 Dir2 -b another_bucket

Project details


Release history Release notifications

This version
History Node

1.2.4

History Node

1.2.3

History Node

1.2.1

History Node

1.2

History Node

1.1

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
qnupload-1.2.4.tar.gz (3.3 kB) Copy SHA256 hash SHA256 Source None Apr 11, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page