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