Reputation: 6532
I'm building an application that supposed to store some images from user's Facebook accounts into my datastore for later usage,
All i could find so far is how to upload an image directly from a form:
(form action="(<%= blobstoreService.createUploadUrl("/upload") %>" method="post" enctype="multipart/form-data">
(input type="file" name="myFile">
(input type="submit" value="Submit">
(/form>
that's not what I'm looking for, i would like to store images from a known url such as: www.otherSite.com/imagename.jpg to my datastore. (i know how to fetch the images from the FB graph api already)
Upvotes: 1
Views: 1365
Reputation: 660
Take a look at this StackOverflow question which also includes some code examples in Java.
How to upload and store an image with google app engine (java)
Upvotes: 1
Reputation: 1161
I think gae has this as a separate service. UrlFetch- https://developers.google.com/appengine/docs/java/urlfetch/
Upvotes: 0