This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Does anyone have a solution how to recognize whether file is completed to copy all records?
when being copy a big size file into the folder, other java application need to move other folder only after copying completed. However, middile of being copy, other java application can move to other folder even has not been finished yet.
File class does not have a relevant method like canWrite() canRead() etc for recognize of complete.
Thus, I used lastModified to check a time and delay for a minute. which is not good solution becuase even small size file need to wait a certern min to move other folder.