Hi Zeehad, We are unable to think replacement of 'myAwesomeApp' in the command as we are not deploying our app through the name. Here is what we do -
Our app is JAVA based GAE app. On the app engiene command line - appcfg stage which gives me following folder structure _static_/resources/js resources/js WEB-INF/ app.yaml ..... ..... ...... For deployment to flex env- gcloud preview app deploy C:/folder/app.yaml Now let us know what would be the deployed app folder structure on the flex instance. Regards Tech On Thu, May 5, 2016 at 12:46 AM, 'Zeehad (Cloud Platform Support)' via Google App Engine <[email protected]> wrote: > Hello Deepak, > > You'll need to use the absolute path to the destination folder on the > instance. For example > > *gcloud compute copy-files c:/localfile.js > loggeduser@instance-name:/myAwesomeApp/src/main/webapp/resources/js --zone > us-central-1* > > You can also use relative path to the loggeduser's home directory. > Assuming the home directory is /home/loggeduser and the project is at the > root directory, the command for the above example will be > > *gcloud compute copy-files c:/localfile.js > loggeduser@instance-name:../../myAwesomeApp/src/main/webapp/resources/js > --zone us-central-1* > > It's also important to make sure that 'loggeduser' has necessary > permissions, otherwise you may receive 'permission denied' errors. > > I hope that helps. Cheers! > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/google-appengine. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-appengine/5cb12664-e5d0-4c19-965b-9fdfe4dbb0e4%40googlegroups.com > <https://groups.google.com/d/msgid/google-appengine/5cb12664-e5d0-4c19-965b-9fdfe4dbb0e4%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Deepak Singh -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAF6cnzaV%3DmdL-3GDCc6vozGcmBk7c0LnZg-8PK5C0VoTddGakQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
