Sorry if this is double-posted by I waited 24 hours and never saw the 
original...

I'm working with GAE and GWT using Java and I have a couple of questions 
that I hope someone can point to some documentation or a good example to 
answer.

In my application I need to upload a simple text file from the user and have 
my application read it line-by-line. It looks like Blobstore would be what I 
need and I have used GWT's FileUploader along with a serverlet to upload the 
file just fine (I can see it in the Blobstore area on Appengine). I'm using 
an HTMLForm from my app to handle the POST. The problem is that I can't 
then get my application to read the file back using FileServices. I get an 
IOException when trying to open the file from my server-side code. I looked 
at using the Datastore as well but that seems like massive overkill for a 
file that will run no more that a few K in size. The file does need to be 
stored per user by the way.

Second question but related... I have a VB.Net application that needs to be 
able to upload the same files. That app will have access to the user's 
account information so I get/can pass an x_auth header to the GAE app. Is it 
just a matter for sending a request to get the Upload URL and then POSTing 
the file data to that URL? Is there an easier way to do this?

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/-/_6y-zqWJE9AJ.
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