ac-backblaze-uploader
Uploads from URL to Backblaze - small files via direct upload, big file (> 5MB) using multipart upload.
Last updated 8 months ago by mmpro .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ac-backblaze-uploader 
SYNC missed versions from official npm registry.

AC Backblaze Uploader

Uploads from URL to Backblaze - small files via direct upload, big file (> 5MB) using multipart upload.

Usage

const acb2 = require('./index')

let backblaze = {
  applicationKeyId: 'xxx',
  applicationKey: 'yyyy',
  bucketId: 'zzz',
  encryption: {
    enabled: true,
    password: 'very-good-password',
    algorithm: 'aes256' // default
  }
}

acb2.init(backblaze)

acb2.upload({
  url: URL,
  fileName: 'ABC'
}, (err, res) => {
  console.log(5, err, res)
})

ToDos

  • add file upload

Links

Thanks

Thanks to https://github.com/yakovkhalinsky/backblaze-b2

License

MIT License Copyright © 2009-present, AdmiralCloud, Mark Poepping

Current Tags

  • 1.1.2                                ...           latest (8 months ago)

5 Versions

  • 1.1.2                                ...           8 months ago
  • 1.1.1                                ...           8 months ago
  • 1.1.0                                ...           8 months ago
  • 1.0.1                                ...           8 months ago
  • 1.0.0                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |