Google App Engine – Downloading source code

I am working on my old project on Google App Engine… so I need to download old source code from Google App Engine ….

We can download source code for application by appcfg.py with the download_app action in the Python SDK command-line tool:

> appcfg.py download_app -A <your_app_id> -V <your_app_version> <output-dir>

But it is giving error …

D:\Program Files\Google\google_appengine>appcfg.py download_app -A svnlabs -V 1 E:/AppEngine/svnlabs
Usage: appcfg.py [options] download_app -A app_id [ -V version ]

appcfg.py: error: “download_app” expects one non-option argument, found 3. 🙁

D:\Program Files\Google\google_appengine>appcfg.py download_app -A svnlabs -V 1 E:/AppEngine/svnlabs

D:\Program Files\Google\google_appengine>appcfg.py download_app help
Usage: appcfg.py [options] download_app -A app_id [ -V version ]

appcfg.py: error: You must specify an app ID via -A or – -application. 

Solution

> appcfg.py download_app – -application=<your_app_id> – -version=<your_app_version> <output-dir> 🙂

D:\Program Files\Google\google_appengine>appcfg.py download_app – -application=svnlabs E:/AppEngine/svnlabs
01:50 PM Host: appengine.google.com
01:50 PM Fetching file list…
Email: [email protected]
Password for [email protected]:

Use an application-specific password instead of your regular account password.
See http://www.google.com/support/accounts/bin/answer.py?answer=185833
However, now the recommended way to log in is using OAuth2. See
https://developers.google.com/appengine/docs/python/tools/uploadinganapp#Python_Password-less_login_with_OAuth2

Google IssuedAuthSubTokens accesscode

Email: [email protected]
Password for [email protected]:
01:55 PM Fetching files…
01:55 PM [1/41] WEB-INF/lib/script-10.jar
01:55 PM [2/41] WEB-INF/classes/META-INF/jdoconfig.xml
01:55 PM [3/41] svnlabs.php

.
.
.

GAE - Download