This content has been marked as final. Show 3 replies
Moderator advice: Please read the announcement(s) at the top of the forum listings and the FAQ linked from every page. They are there for a purpose.
Then edit your post and format the code correctly.
The f.exists() is returning trueSo the file exists
... but f.delete() and f.renameTo() are simply not working.So you don't have enough access permissions to delete or rename the file.