owncloud

1.0.2 • Public • Published

owncloud : OwnCloud API & Installer

Coming soon...

How it will be (Code Design) :

   let OC=require('owncloud');
   const instance=OC.conf({host:'fss.abdennoor.com',port:443},function(info){
        if(info.success){
          info.version // ?
 
        }
   });
   instance.authenticate({u:'admin',p:'something'});
   let uploadJob=instance.upload('./docs/cv.txt',);
    uploadJob.onProgress((uploaded)=>{
 
    });
    uploadJob.onSuccess((file)=>{
         console.log('Done!');
         file.share((status,link)=>{
            console.log(`${link} is a public link for ${file.name} uploaded by ${file.owner}`);
         });
 
    });
 

Coming Soon :

Wait us in version 1.1.10

Package Sidebar

Install

npm i owncloud

Weekly Downloads

9

Version

1.0.2

License

MIT

Last publish

Collaborators

  • owncloudadmin