This content has been marked as final. Show 2 replies
Exactly what are you expecting here? The error you get seems like standard operating system blab you would get when applications concurrently try to access the same file. Windows is very good at locking stuff down. If this is a problem for you, use Linux which handles it far better.
Yes it was the locking issue (Operating systems would enforce a lock on file transfer). I figured that just a couple minutes ago. To fix this issue, I had to refresh the file's attributes recursively to identify the status of transfer.
There is this api in apache commons IO " FileEntry ", it has a method called refresh(File <file_name>); It helped me figure the status of the transfer.
Thanks for all your help.
Edited by: user538423 on Aug 31, 2012 12:02 PM