0

I am wondering if it is possible to use JavaScript to upload files directly to Google Cloud without having to use Node.js or anything else. I keep searching online but all I find are tutorials with Node.js.

Alfonso Lima
  • 165
  • 1
  • 1
  • 6
  • For objects smaller than a few hundred MB, yes, you can easily write an upload function in pure JavaScript. There are lots of examples on the Internet and StackOverflow. When objects are large (>100MB) then you need to implement multi-part uploads and that gets complicated quickly. There are some details regarding permissions that your question does not specify. While researching also search for details on signed-urls. – John Hanley Oct 29 '21 at 15:47
  • Does this answer your question? [Upload file to google cloud storage with NodeJS](https://stackoverflow.com/questions/48919153/upload-file-to-google-cloud-storage-with-nodejs) – Liam Oct 05 '22 at 14:02

0 Answers0