1
votes

Currently I have created a form, through which image files are uploaded to the corresponding google cloud storage bucket. But the stored image_name is different than the actual file name.. For ex, if I upload foo.jpeg, it turns into a filename of mixed upper and lowercase letters. But the content remains the same..

What I need to keep the uploaded file name as it is?

1

1 Answers

0
votes

You can use JSON API to upload a file. It offers three options: simple upload, multipart upload, and resumable upload. In all options you need to specify the object name.

All options upload directly to the bucket - no need to go through your own server/instance.