views:

17

answers:

0

Hi,

In my application, I am serving the video clips on server and I need to update the playlist of this video clips being served on server through IIS/apache server. Now, When a user is accessing the play list from server and application tries to update that file, it fails... following is the approach I am taking...

Create tmp file -> delete original play list -> rename tmp file to original play list file -> Permission denied (when user is accessing it)

My application is written in 'C'. I am running it on WinXP. FYI: I have similar code running on Linux and MAC but, I do not face this type of error for program running on Linux/MAc and serving files using Apache.

How can I dynamically update content being served by Server on WinXP?

Regards, Dhaval