E S wrote: > > I just want to remark that it's a little eerie to have the author of a book > on your desk send you email. Maybe Kant will write me back next about his > transcendental arguments =) For Kant you'll want to try philosophy-interest. :-) > Anyway, back to the topic at hand. Regarding (a) I'm not crazy about the > proliferation of temp directories, but I guess that would do the trick as a > last resort. Well, you can delete the dir when you're done. > I'm not quite sure I understand how to go about doing what you suggest in > (b). Wouldn't I still need to be writing the file out somewhere, perhaps > before I've discerned the other parameters I need to determine where I want > to save to, and so I'm right back to (a)? Assuming you receive your param before the file, you can get a reference to the next incoming Part object and tell the object to write itself directly to the selected directory. > Do other file upload > implementations that don't require a directory at the get-go just try to > store the uploaded file in memory till you're ready to specify a place to > save to? (I'm thinking of jspsmartupload in particular). Yep, which of course is fraught with problems. A 50 Meg upload has to go somewhere, and if not to memory then to disk, and if to disk you have to know where. Either you tell up front with MR, or you tell during the upload with MP. You'll note MR is now just a simple wrapper around MP. -jh- ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
