You only need a different auth token (one valid for 'wise') when exporting spreadsheets: http://code.google.com/apis/documents/docs/2.0/developers_guide_protocol.html#DownloadingSpreadsheets
You request looks right for downloading a document/presentation. Are you sure that's the one being sent? <http://code.google.com/apis/documents/docs/2.0/developers_guide_protocol.html#DownloadingSpreadsheets> Eric On Mon, Aug 17, 2009 at 10:47 AM, Graham Chiu <compkar...@gmail.com> wrote: > > Hi > > I am using ClientLogin authentication to upload documents, but when I > try to download a document using the same authentication token, I get > a http 302 redirecting me to login again. Do I need to use a > different authentication token apart from "writely" to download? > > Here's the http trace > > GET > /feeds/download/documents/Export?docId=0AaELdnC15jkoZGduejVrYnNfMTk3Z3A4dnA2ZjM > HTTP/1.0 > Accept: */* > Connection: close > User-Agent: REBOL Command 2.7.6.3.1 > Host: docs.google.com > Referer: http://docs.google.com/feeds/download/documents/Export > Authorization: GoogleLogin Auth=mytokenhere > > HTTP/1.0 302 Moved Temporarily > Date: Mon, 17 Aug 2009 00:35:52 GMT > Content-Length: 567 > Content-Type: text/html; charset=UTF-8 > Expires: Mon, 17 Aug 2009 00:35:52 GMT > Cache-Control: private, max-age=0 > X-Content-Type-Options: nosniff > Server: GFE/2.0 > Location: > https://www.google.com/accounts/ServiceLogin?service=writely&passive=true&nui=1&continue=http%3A%2F%2Fdocs.google.com%2Ffeeds%2Fdownload%2Fdocuments%2FExport%3FdocId%3D0AaELdnC15jkoZGduejVrYnNfMTk3Z3A4dnA2ZjM&followup=http%3A%2F%2Fdocs.google.com%2Ffeeds%2Fdownload%2Fdocuments%2FExport%3FdocId%3D0AaELdnC15jkoZGduejVrYnNfMTk3Z3A4dnA2ZjM<mpl=homepage&rm=false > > > -- > Graham Chiu > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Docs Data APIs" group. To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com To unsubscribe from this group, send email to google-docs-data-apis+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---