In the demo version of your plugin, you output text. I have experience in connecting Wasabi and a link to the file is formed there. Not really you this text and there is a link to the file?
File upload works for me successfully. But I didn’t quite figure it out with the display of this file.
The Get action outputs base64-encoded data in order to process the content by a workflow without user interaction/front-end components, or to feed directly for instance audio data to an audio player.
The Save action outputs the URN, which you can then use as a web link for your users or to download the file or any front-end element supporting links, provided that your Google Storage Bucket is set with the required permissions.
Feel free to subscribe to the plugin to give it a test run, remember that subscriptions are prorated temporis, so using it for a few days would cost you a few cents.
That’s correct.
Following your question, we have updated the demo, demonstrating how to reconstruct the URL with the URN after upload and amended the documentation.
I just want to confirm, is it true the file limit is 22MB upload, and 4.5MB download? That seems very low since a Google Cloud bucket could be TBs. I’m looking for my Bubble users to upload and download photos and videos but it sounds like that’s not suitable for this plugin?
Thanks for your message and interest in our plugin!
The reason of these limits is due to the background nature of the upload and download to datastream actions.
This plugin is unique as it allows you to use these without any user interactions directly from your app’s instance .
The downside is that Bubble.io engine does not allow more than 30 seconds of execution time per action call, hence the stated limits.
Okay thanks, I actually was about to mention the Zeroqode plugin and ask how they get around the Bubble limitation. If you guys ever make a version of this Google Cloud Storage utilities but it’s user direct to a Google Cloud Bucket (and also a AWS version that is direct to S3 Bucket) I think that would be super powerful. Thanks!
Here is the workflow I created.
Step1: Get file from GCS (the file is pdf)
Step2: Save the file I got from GCS to bubble database (field type: file)
but it is not working properly.
I am guessing I need to do some kind of conversion to read Datastream data as PDF.
Could you guide me through how I can save the data, it is very much appreciated! thanks!
Thanks for your interest in our plugin!
Is you app on a paid plan?
If so, you want to use the Bubble API Connector to send the base-64 datastream to use built-in & standard app Bubble APIs (specifically POST) as documented here, section “Files and Images”: Introduction - Bubble Docs
Alternatively, if your Google Cloud Storage bucket is configured to allow unauthenticated (public) downloads from a given file URL, you can use only the Bubble “API Connector” to get a file URL and then use its output to save this file to a thing in database, see [New Feature] File option on API Connector plugin
I am already in paid plan. that is why I could use the action as I have pasted the screenshot, right?
So do you mean, after the GET FILE process, I need to initiate API connector to send base-64-datastream to my own bubble database? I am a little confused.
Could you elaborate the workflow a bit more?
Are you aware of anyone successfully coupling this with image compression and possibly a utility like a cropper or would a transform file option for image compression be on your roadmap at all?