commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jawahar Nayak <j...@chambal.com>
Subject Overwrite MOVE operation.
Date Mon, 05 Oct 2009 04:10:02 GMT

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 
-- 
View this message in context: http://www.nabble.com/Overwrite-MOVE-operation.-tp25744951p25744951.html
Sent from the Commons - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message