That's right. The answer to this is to use --passin. For example, I'm using windows xp, and had some difficulty with this. Here's a bat file I schedule to run each night to do what I think you're trying to do: #good idea to back up spreadsheet first, of course.
del inv_dump.csv appcfg.py download_data --config_file=loadersimport_inv.py --filename=inv_dump.csv --kind=sports_inventorycloseouts --email= [email protected] --passin sports < pws.py pws.py is a file that contains only my password, no quotes. All the py and bat files are in the same directory. Of course, you'll need your apps' yaml file too. Note that is some cases when automatic logins, using Windows, I had to use full path to my GAE appcfg.py file, in this case to update my app each night: python "C:\Program Files\Google\google_appengine\appcfg.py" --passin [email protected] update appnew < pws.py Failure to use full path to appcfg.py resulted in errors. I hope this helps. On Mon, May 24, 2010 at 1:02 PM, Matthew Blain <[email protected]>wrote: > Take a look at the --passin flag. > > On May 20, 3:39 am, Chris M <[email protected]> wrote: > > Is there anyway to Auto-login on the bulk download tool. > > > > I'm writing a batch file so I can schedule a download and delete every > > night and Im stuck as the thing requires a login and there doesn't > > seem to be any parameters to pass this in the request. > > > > Any help greatly appreciated! > > > > echo on > > REM ## Tracker > > > > @echo off > > > > FOR /F "TOKENS=1* DELIMS= " %%A IN ('DATE/T') DO SET CDATE=%%B > > FOR /F "TOKENS=1,2 eol=/ DELIMS=/ " %%A IN ('DATE/T') DO SET mm=%%B > > FOR /F "TOKENS=1,2 DELIMS=/ eol=/" %%A IN ('echo %CDATE%') DO SET dd=% > > %B > > FOR /F "TOKENS=2,3 DELIMS=/ " %%A IN ('echo %CDATE%') DO SET yyyy=%%B > > SET date=%yyyy%%mm%%dd% > > set deldate=%yyyy%-%mm%-%dd% > > > > FOR /f "tokens=1" %%u IN ('TIME /t') DO SET t=%%u > > IF "%t:~1,1%"==":" SET t=0%t% > > @REM set timestr=%d:~6,4%%d:~3,2%%d:~0,2%%t:~0,2%%t:~3,2% > > set time=%t:~0,2%%t:~3,2% > > > > @echo on > > > > "c:\Program Files\Google\google_appengine\appcfg.py" download_data > > > > --config_file=E:\FEEDSYSTEMS\TRACKER\tracker-export.py --filename=%date > > %data_archive.csv --batch_size=100 > > > > --kind="SearchRec" ./TRACKER > > > > curl --retry 20 --retry-delay 10 -Nhttp://tracker###. > appspot.com/delete?date=%deldate% > > > > -- > > 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]<google-appengine%[email protected]> > . > > For more options, visit this group athttp:// > groups.google.com/group/google-appengine?hl=en. > > -- > 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]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- 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.
