File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons 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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: copy a locked file
Similar Threads
Local network access to my Tomcat server
JSP Struts/JSTL Form problem
WA #1.....word association
file edit
EJB in action Chapter 2 code error