Hi,
renameTo() will not work for overwriting a file. It will return false if it could not move files from source to destination.
You should have done this in a work around way:
check if file...
Type: Posts; User: SrilakshmiJ; Keyword(s):
Hi,
renameTo() will not work for overwriting a file. It will return false if it could not move files from source to destination.
You should have done this in a work around way:
check if file...