Hey thanks..

Does the password file have to have a particular extension?  I saved a
text file containing only my google password, which i called "gpass".
Then I ran the command:
appcfg.py --email=[my email account] --passin < gpass update [my app
folder]

it resulted in:
Server: appengine.google.com.
Scanning files on local disk.
Scanned 500 files.
Initiating update.
Invalid username or password.
Error 401: --- begin server output ---
Must authenticate first.
--- end server output ---
Password for [my email account]

Thanks again,
Arjun

On Jan 9, 1:34 pm, dburns <[email protected]> wrote:
> appcfg.py has this option that should help:
>
>   --passin              Read the login password from stdin.
>
> stdin means "standard input", which is normally what you type, but you
> can redirect stdin like this:
>
> appcfg.py --passin other_parameters_here < password
>
> where password is a file containing nothing but your password.
>
> On Jan 6, 5:51 pm, pythono <[email protected]> wrote:
>
>
>
> > Hey there,
>
> > I would like to run a shell script that does certain things first and
> > then updates my app engine application.  How could I supply my
> > password to appcfg.py without manually entering it in?  I'm kind of a
> > novice in shell scripting (i'm using OS X), so the more specific you
> > can be, the better.
>
> > Thanks,
> > Arjun
-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.


Reply via email to