Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes copy a locked file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "copy a locked file" Watch "copy a locked file" New topic
Author

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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: copy a locked file
 
Similar Threads
Local network access to my Tomcat server
JSP Struts/JSTL Form problem
EJB in action Chapter 2 code error
WA #1.....word association
file edit