Overwrite MOVE operation.

1 message Options
Embed this post
Permalink
Jawahar Nayak

Overwrite MOVE operation.

Reply Threaded More More options
Print post
Permalink
Hi,

I want to move a source file to target directory. On target dir, file may be already exists. I want to perform "OVERWRITE MOVE" operation. If the file is already exists then it should be overwritten.

I used FileUtils.moveFile( srcfile, targetfile ), but it does not overwrite.

Is there any method I can perform overwrite move operation.

Thanks