How to Download your Google App Engine Files

Published in: google app engine

appengineGoogle App Engine (GAE), an Amazon Web Services like platform that lets you host and run web applications in the cloud, has come a long way in the last three years. The App Engine now hosts more than 200,000 apps that serve over 1.5 billion views daily. Even the Royal Wedding site was hosted on App Engine.

At the ongoing Google IO event, Google introduced App Engine 1.5.0 that, among several other enhancements, lets project owners download the source code of applications that they have previously deployed on Google App Engine.

This is good news because earlier, if you lost the local copy of your application’s source code - say because of an hard disk crash or because the developer had left the company - you had to rewrite the whole application from scratch even for making minor changes.

Downloading the Source Code from App Engine

Here’s how you may download the source code of any of your App Engine apps using the command line tool:

Step 1. Create a new directory for storing the downloaded files. The App Engine runtime requires that the directory be empty before it can download the files to that directory.

Step 2. Switch to the directory where App Engine is installed on your computer. It is usually under the following path:

C:\Program Files\Google\google_appengine

Step 3. Execute the following command to download the project. Remember to replace MyAppName with the ID of your own App Engine project. download_app – A MyAppName -V 1 c:\AppEngine\SourceCode

It’ll ask for your Google Account credentials and once authenticated, all the source code files will instantly download to the specified directory. Obviously, you can only download the source code of your own applications from App Engine.

Here’s a screencast demonstrating the download process (sorry for the video quality).


📮  Subscribe to our Email Newsletter for Google tips and tutorials!
Published in: google app engine

Looking for something? Find here!

Meet the Author

Web Geek, Google Developer Expert
Amit Agarwal

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India. He is the developer of Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

Get in touch

Google Add-ons

Do more with your Gmail and GSuite account

We build bespoke solutions that use the capabilities and the features of Google Workspace for automating business processes and driving work productivity.

  1. Mail Merge with Attachments
    Send personalized email to your Google Contact with a Google Sheet and Gmail
  2. Save Emails and Attachments
    Download email messages and file attachments from Gmail to your Google Drive
  3. Google Forms Email Notifications
    Send email notifications to multiple people when a new Google Form is submitted
  4. Document Studio
    Create beautiful pixel perfect documents merging data from Google Sheets and Google Forms
  5. Creator Studio for Google Slides
    Turn your Google Slides presentations into animated GIFs and videos for uploading to YouTube