File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
copy a locked file
Joined: Jan 15, 2005
Feb 23, 2005 16:27:00
i want to know if there is a method, with
to copy a file that is in use or locked by another application. Any Help will be appreciated.
Joined: Dec 13, 2002
Feb 24, 2005 04:56:00
There is no way, and that lock is windows specific feature.
I agree. Here's the link:
subject: copy a locked file
tryLock gets a lock when it shouldn't
Securing the web pages
How to know whether a file is in use or not
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015