RE: More control over iploading files

2002-04-15 Thread Jeremy Aston
very similar to yours, although I had not written a handler for FilePart yet. Thanks for the help. Jeremy -Original Message- From: Jeroen ter Voorde [mailto:[EMAIL PROTECTED]] Sent: 14 April 2002 11:49 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject:Re: More control

Re: More control over iploading files

2002-04-14 Thread Jeroen ter Voorde
Hi, You should be able to get the FilePart object representing the uploaded file using request.get("upload_field"). If the file was stored into the upload dir (which is enabled by default) you can cast the FilePart to a FilePartFile from which you can get the java.io.File using getFile(). All o