I would like to verify my website in Google Search Console by uploading a file to my website - example.com which is hosted on Google Cloud Compute Engine (Wordpress site deployed with Google Cloud Launcher) . It has to be placed on a website as example.com/123googlesearchconsoleexample.html , but I cannot upload it via Cloud Shell from a Google Cloud Storage bucket. Is there a way to do this?
I tried gcloud compute copy-files command
gcloud compute copy-files gs://example/123googlesearchconsoleexample.html example-prd-vm:~/
, but it seems that it does not work in the browser and this is how I would like to do it (without installing SDK). The error I get is:
(gcloud.compute.copy-files) All sources must be local files when destination is remote.
gcloud compute copy-files
. (The Cloud Shell should already have the gcloud SDK installed, including both thegcloud
andgsutil
commands.) – Jon Skeet