1.0.8 • Published 9 years ago

ks-yun v1.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

Better KS3 NodeJS SDK

Install

npm install ks-yun --save [-g]

Usage

Getting Started

NodeJS

'use strict';

let Ksyun = require('ks-yun');

//upload all files under ./local/path to <BucketName>/remote/destination on ks3
let ksyun = new Ksyun('<YourAccessKey>', '<YourSecretKey>');
ksyun.uploadFiles('<BucketName>', './local/path', 'remote/destination', Ksyun.ACL.PUBLIC_READ);

Command line

You must install ks-yun globally first.

ksyun -h
Usage: ksyun [options] [command]


  Commands:

    init [options] <AK> <SK>                              initialize access key and secret key, support multiple account
    upload [options] <Bucket> <RemotePath> <LocalPath>    upload local file/folder to ks3
    download [options] <Bucket> <RemotePath> <LocalPath>  download ks3 file/folder to local
    list [options] <Bucket> [RemoteFolder]                list all files under remote folder
    remove [options] <Bucket> <RemotePath>                remove ks3 file/folder
    delete [options] <UrlOrKsyunID>                       delete shared link

  Options:

    -h, --help     output usage information
    -V, --version  output the version number
1.0.8

9 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.3.0

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago