01-25-2010 05:48 AM
Yes, You're right! In JavaDoc it says that rename will generate IAE if name contains any path specification. In this case. You should manually create new file, copy content there and delete original one.
01-25-2010 05:56 AM
Copy all file manually? using inputStream/outputStream?
also for the dir? cause i must also be able of moving dir. image situation: i must create MyDir in new path, then create all
dirs and files which are in it, everything what is in file, and so on and so on? ??? that is terrible. cause if the dir has lots of files and lot of dirs which have files(not empty) and dirs..
01-25-2010 07:28 AM
I wrote my own function, I could send it to you if you want.
01-26-2010 06:58 AM
Sent, tell me if it works.