This content has been marked as final. Show 2 replies
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