I'm trying to download a .zip
which is actually a backup of an application and I need to download it to my local system (MacBook), so I have connected to the instance via SSH, and then I ran this command as:
gcloud compute scp USER@INSTANCE:~/PATH_TO_LIVE_FILE /LOCAL_DIR
However, it's giving me the following error:
scp: /home/abdul/var/atlassian/application-data/jirasoftware/export/Jiraback_pythonest.zip: No such file or directory
ERROR: (gcloud.compute.scp) [/usr/bin/scp] exited with return code [1].
But the file is there, I have checked it by even logging into that directory. I've tried Google's SSH client from the browser and its "Download File" option but it's still not working.
What can be wrong?