Neil Aggarwal wrote: > I used lsof and that is working perfectly. > > I called lsof [filename] > and checked if there was any output. > I would check that it is used by the ftp daemon. Or at least, make sure your own command don't open it at the lsof time.