I have checked every solution on stackoverflow but I can’t seem to figure out why my commands are not working.
When I do gcloud compute scp 'UserspcsstOneDriveDocumentslib-backend.jar' pcssteffi@liby-vm:/home/pcssteffi
I am getting No such file or directory
error.
When I try to be more specific gcloud compute scp "C:/Users/pcsst/OneDrive/Documents/lib-backend.jar" pcssteffi@liby-vm:/home/pcssteffi
, I am getting (gcloud.compute.scp) All sources must be local files when destination is remote. Got sources: [C:/Users/pcsst/OneDrive/Documents/lib-backend.jar], destination: pcssteffi@liby-vm:/home/pcssteffi
ERROR
I have specified the drive as C drive and I am getting another error. What does it mean by sources must be local files and how can I resolve this issue?
Thank you in advance.