Tiger300 asked:
I was following along with this tutorial:
https://cloud.google.com/community/tutorials/setting-up-lamp
and I wanted to upload a php file to my instance to run, using the following command:
gcloud compute scp [LOCAL_FILE_PATH] lamp-tutorial:/var/www/html
but I got the following:
What went wrong? And how could I transfer files to my instance?
My answer:
You have to run these commands on your local computer, not the Cloud Shell, or the remote virtual machine.
View the full question and any other answers on Server Fault.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.