Why do you need a File instance if you're not storing it? What are you trying to do?
-- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Sep 20, 2010 at 3:00 PM, E Aparicio <enastud...@gmail.com> wrote: > Hi everyone, new to the group, didn't find another thread but I'm sure > this is a basic question. I need the servlet to accept a file via > multi-part form post and create a file instance. I don't need to > worry about persistence, storing to memcache or the datastore. Are we > not able to simply create a file instance referring to the temp file > location? I > > File myTempFile = new File("path to temp file"); > > I've read that gae doesn't support writing to the file system, also > read up on the blobstore, and memcache. Writing to the blobstore > seems like a solution but a bit overkill I think. I basically just > need to create a file object and pass that on as a parameter so again, > don't need persistence. > > ---- > > Thanks! > ea > > -- > 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 > google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > . > 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.