aspose file tools
The moose likes Java in General and the fly likes copy a locked file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "copy a locked file" Watch "copy a locked file" New topic

copy a locked file

benny rusli
Ranch Hand

Joined: Jan 15, 2005
Posts: 72
Hello Everybody,
i want to know if there is a method, with Java to copy a file that is in use or locked by another application. Any Help will be appreciated.
Arto Pastinen
Ranch Hand

Joined: Dec 13, 2002
Posts: 79
There is no way, and that lock is windows specific feature.
It is sorta covered in the JavaRanch Style Guide.
subject: copy a locked file
It's not a secret anymore!