This is frustrating, I had it working a while ago but now it isn't working. The renameTo is returning false but I deleted the file with the same name that I'm trying to rename and closed the output and input streams. I also checked the permissions. Anyone have a clue what I'm doing wrong? Thanks in advance.
A couple of months ago a friend have asked for my help in a similar situation. The renameTo was not working and the problem was on the file path as he was trying to rename with only the file name. Try to include the complete path for the file, for example,
Joined: Feb 16, 2005
Ohhh ok, thanks a lot Miguel.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com