How do I download a specific service's source code off of AppEngine?
<p>I have some php source code working in an app engine production environment that won't work anywhere else.  Old versions of that code don't seem to work at all either so I need to get that source and see what the heck it is doing differently.</p>

<p>This discussion outlines the challenges I'm having:
<a href="http://google-app-engine.75637.x6.nabble.com/Download-specific-Module-code-td699.html" rel="nofollow">http://google-app-engine.75637.x6.nabble.com/Download-specific-Module-code-td699.html</a></p>

<p>I was told to try using appcfg.py download_app:</p>

<pre><code>appcfg.py download_app -A &lt;APP_NAME&gt; -V &lt;Version&gt; &lt;DIR&gt;
</code></pre>

<p>The problem is that this command does not allow me to specify module / service so I can't target my source code.  Also I'm not the App owner so I can't download everything but from what I understand that still wouldn't work because appcfg only seems to target the default service.</p>

<p>The article I linked ends with a suggestion to use gcloud to download the app but I haven't been able to find how to do that.  Does anyone here know how to resolve this?  The service is running in a Flexible instance - not sure if that makes a difference...</p>

<p>Simple enough to do:</p>

<ol>
<li><p>Switch to the directory where App Engine is installed on your computer. It is usually under the following path: </p>

<p><code>C:\Program Files\Google\google_appengine</code></p></li>
<li><p>Run the below command</p>

<p><code>appcfg.py download_app âA MyAppName -V 1 c:\AppEngine\SourceCode</code></p></li>
</ol>

php python google-app-engine google-app-engine-php