This is a doclist question.  Please ask it in that group:
http://groups.google.com/group/google-documents-list-api

On Wed, Sep 9, 2009 at 8:59 AM, NMAGOCIO <nmago...@gmail.com> wrote:

>
> I am working on getting document downloads in Java on a Hosted
> (Premier) account and can't seem to get it quite right. In this
> project I am using OAuth
>
>
>
> This is the url produced by entries.get(1).getResourceId()
> Document:dc4xx5q2_4h2kz7dfs
>
> This forms the download export url:
>  String exportUrl = "http://docs.google.com/feeds/download/documents/
> Export?docId=" +
>      docId + "&exportFormat=" + fileExtension;
>
> Gives me:
> Exporting document from:
>
> http://docs.google.com/feeds/download/documents/Export?docId=dc4xx5q2_4h2kz7dfs&exportFormat=doc
>
> So all that looks good but I don't get the document rather something
> else...
>
> I think  "http://docs.google.com/feeds/download/documents/Export"; must
> be different for hosted domains like it is on the other services but
> how?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to