I have a png file that i wish to upload from my Windows Desktop location to Google Cloud Storage bucket.
I am able to do that using the Console. However, i am unable to do it via gcloud:
gcloud storage cp Desktop/Gandalf.png gs://cat-bucket-test
The error that i am getting is as follows:
Completed files 0 | 0B
←[1;31mERROR:←[0m (gcloud.storage.cp) The following URLs matched no objects or files:
-Desktop/Gandalf.png
I have referred to the following resource:
https://cloud.google.com/storage/docs/uploading-objects#uploading-an-object
Can you please help me what i am missing here.