1

I am listening on changes to my images with Firebase to create a thumbnail. So on the serverside I download the image, resize the image and upload the thumbnail to my bucket:

defaultBucket.upload(tempFilePath)

Is there a way to get the download-URL for the file, I just uploaded?

I need something like getSignedUrl, just without expiration.
On the clientside I can use getDownloadURL, but this does not work on the server.

Thomas
  • 2,375
  • 2
  • 17
  • 32
  • 1
    See https://stackoverflow.com/questions/42956250/get-download-url-from-file-uploaded-with-cloud-functions-for-firebase – Frank van Puffelen Jul 15 '17 at 23:43
  • Oh wow. I did really use the search function but didn't find anything. Thank you very much. – Thomas Jul 15 '17 at 23:48
  • Possible duplicate of [Get Download URL from file uploaded with Cloud Functions for Firebase](https://stackoverflow.com/questions/42956250/get-download-url-from-file-uploaded-with-cloud-functions-for-firebase) – EdChum Jul 16 '17 at 19:48

0 Answers0