I just took a look at the GData library, and it shouldn't be that hard to
convert an InputStream to a File instance. Here's something I found
searching:

http://www.roseindia.net/java/java-conversion/InputstreamToFile.shtml

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Sun, Aug 21, 2011 at 8:01 AM, Nicolò Brognoli
<[email protected]>wrote:

> Hello,
> I want to upload an InputStream object onto Google sites. The sites API
> manage only "File" objects, but I can't use the OuputStream to generate the
> File from the InputStream.
>
> How can I upload the InputStream object to Google Sites?
> Should I do that with a POST request? And if so, how can I create such
> request?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine-java/-/xu1WcvMjvXMJ.
> 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-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-java?hl=en.

Reply via email to