Hi there, this might be helpful. I've recently developed a file uploaded for an crowd source application I'm involved in and have used a DiskFileItemFactory. Once you create a factory object you can set the size of the files that are to be uploaded. Bt default it's 10K but you cN manually set this for smaller sizes. here is some code snippets that may be helpful :-
DiskFileItemFactory factory = new DiskFileItemFactory(); // create the factory for file uploading factory.setSizeThreshold(Memory); // this sets the threshold for files to be held in memory or stored on disk factory.setRepository(server folder); // defines the location on your server where the files are to be stored You should use this in conjunction with a ServletFileUpload object so you can bulk load multiple files to your server. Hope this is helpful, T. On Apr 13, 11:53 am, davidgm <david.guyonmar...@gmail.com> wrote: > Hi there, > > I've read > * how to upload one text file - that's ok. > * how to bulk upload data (csv) - that's ok also. > > But this doesn't help with for this problem: > > => I need to upload a few dozen of small text files (a few kbytes > each). > > I need to refresh them sometimes. They will be stored in datastore > with a few metadata (filename and a release no). > > I've been thinking to merge them into one big file to split then later > in GAE. But I would rather not do it this way, unless you have a nice > technique to handle that. They all have special characters of all > kinds and unicode... > > Do you have any suggestion ? > Thank you -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.