Hi all,
Thanks for the help.
I figured it out and i am able to rename the file with my name.
Thanks again
venkat
-Original Message-
From: Venkat [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 12:47 PM
To: Tomcat Users List
Subject: RE: file renaming using Multipart class.
Hi
venkat,
here is the one way to use it:
MultipartRequest multi =
new MultipartRequest(request, dirName, 100*1024*1024,
ISO-8859-1, new DefaultFileRenamePolicy());
Enumeration files = multi.getFileNames();
while (files.hasMoreElements()) {
String name =
Hi,
Add time stamp as suffix to the file name that makes the file unique and use
the same for each user. Hope it may solve u r problem
Regards,
Pratt.
- Original Message -
From: Venkat [EMAIL PROTECTED]
To: Tomcat [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 12:10 PM
Subject: file
Message-
From: Tomcat-RND [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 12:09 PM
To: Tomcat Users List
Subject: Re: file renaming using Multipart class.
Hi,
Add time stamp as suffix to the file name that makes the file unique and use
the same for each user. Hope it may solve u r