0.1.2 • Published 9 years ago

cloudcp v0.1.2

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

cloudcp

npm version Build Status js-standard-style

Copy local files to any cloud storage provider supported by pkgcloud

API

var cloudcp = require('cloudcp')
var storageClient = require('pkgcloud').storage.createClient({
  // See pkgcloud documentation for details
})

var container = 'my-blob'
var remote = '/remote/file.txt'

cloudcp('/local/file.txt', {
  storageClient, container, remote
}).then(function (file) {
  console.log(file)
}).catch(function (err) {
  console.log(err)
})

License

MIT

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago