How to upload a file on Google Cloud, in a specific bucket directory (e.g. foo)?
foo
\"use strict\"; const gcloud = require(\"gcloud\"); const PROJECT
I think just adding foo/ to the filename should work, like bucket.upload("foo/1.jpg", (err, file) ... In GCS, directories just a matter of having a '/' in the file name.
bucket.upload("foo/1.jpg", (err, file) ...