The application I am developing is made available to upload a photo and a video to Google Cloud Storage.
Google Cloud Storage components from the forge is used to achieve that.
Upload is now successful to Google Cloud Storage, but is there a way before files are uploaded, a folder will be created first, then files are uploaded inside that folder?
For example:
- Folder A/Photo
- Folder A/Video
Thank you.
Hi @meii,
Please check below documentation.
https://developers.google.com/drive/api/guides/folder
https://cloud.google.com/resource-manager/reference/rest/v2/folders/create
Stackoverflow discussion: https://stackoverflow.com/questions/38416598/how-to-create-an-empty-folder-on-google-storage-with-google-api
Kind regards,
Sanjay Kushwah
Hi @Meii ,
I tried to use the Google Cloud Storage component from the forge , but I have a problem when T assign my private key. it's always says to me -----END PRIVATE KEY not found .
I copy/paste my privatekey from json file geneate by GCP to the PrivateKey attribut in FileDownload Server action
Did you have this problem too?
Thanks a lot !!!