I have created a sample client server application .In this server only receives the data from client it will not reply to client.server is concurrent one.I will store the datas received from client in a file.During data transfer if the child terminates abruptly(system crash or using kill command).i have to delete the file if data is not received fully.

My question is how to delete the file in the parent which is created in child process??

Thanks in Advance
Yuvarajan G.