File from = new File(pdf); File to = new File(targetFilename); from.renameTo(to);
I believe, this rename function is only working since JDK 1.4. so if you need to use an earlier version, you have to write this by yourself eventually.
alex
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]