kamilz / b2backblaze Goto Github PK
View Code? Open in Web Editor NEWB2 Cloud Storage Backblaze PHP5 library
License: MIT License
B2 Cloud Storage Backblaze PHP5 library
License: MIT License
Currently we can't leverage things like the auth token or anything else if we want to call API methods that service does not expose.
Please i would like to know if i get help to this integration.
I'm getting really confuse.
Thanks
KNP GAUFRETTE
//////////////////////
knp_gaufrette:
stream_wrapper: ~
adapters:
web_app_top_business_storage:
b2_back_blaze_storage:
service_id: 'app.b2_back_blaze_storage.service'
bucket_name: top_business
options:
directory: images
acl: 'public'
FILE SYSTEM
//////////////////////
filesystems:
web_app_folder_cloud_fs:
adapter: web_app_top_business_storage
SERVICES
/////////////////////
app.b2_back_blaze_storage.service:
class: \B2Backblaze\B2Service
arguments:
factory: [App\BackBlaze\Factory\BackBlazeServiceFactory, createService]
- { Bucket : "XXXXXXXXXX" , Directory : "", Acl : "public" }
THE FACTORY
////////////////////
class BackBlazeServiceFactory
{
public static function createService() {
$service = new \B2Backblaze\B2Service($account_id,$account_key);
$adapter = new Gaufrette\Adapter\BackblazeB2Storage($service, $bucket_id, array("directory"=>"", "private"=> false));
$filesystem = new Filesystem($adapter);
}
}
Hi,
i tested the lib and all my file uploads are 44kb empty files after upload.
I tested it with a 25mb rar file and a jpeg image. All are after upload empty small files.
Whats wrong?
will there be a function to pass an array of filenames
and have it zip them all together and then save as a file so the user can downoad it?
Hello,
Is there a way to use this library on my server and create a cron job to backup my websites files?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.