Delay in copy?


Hi, im develop a program that needs conect to a device after the device make some elements analysis but, when i try to copy the file dont have the new information.

i was thinking that maybe the problem is the device but looks that needs some kind of refresh in the connection, because if i click on the refresh window in the device, the file size change and the program makes a correct copy...

i dont now what i have to do because i need a fresh copy from the device database and some thing is not working ...

i need help please ...