Cannot rename GIF files while it is in use, But can rename movie files WHY?
I have a application where download data from a server once a day to a particular Folder. In that application we use some GIF files which need to be renamed when data is getting downloaded. I can easily rename a movie file but not able to rename a GIF file whenboth are been currently in use. I cannot close my application too.
Amit ChoudharyPosted Mar 12, 2010, 2:02 AM
The Gif files are very small files and are locked completely when in use. but the movie file are big in size so while they are downloading they downloaded in chunks and so not fullly locked. Hence you are able to rename a movie file.
to solve problem you can rename a file before start downloading or preparing for downloading. or use any temp folder rename files there and download them after download delete files.
Hope you get some point.
Please mark as answer if it helps.