Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to easily send local file to Google Cloud Storage in Scala

I need to upload a local file to Google Cloud Storage using Scala language. What is the easiest way to do it? This file will also need to be public downloaded later.

like image 768
Daniel Cukier Avatar asked Nov 01 '22 18:11

Daniel Cukier


1 Answers

Use the java library provided by Google. It will work with scala as well.

They provide an example of how to use this library here. It's in java but the scala equivalent should be easy to code.

like image 62
David Avatar answered Nov 08 '22 08:11

David