I used lsof and that is working perfectly.
I called lsof [filename] and checked if there was any output.
Thanks!
Neil
-- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details.
An alternative would be to use lsof to see if the file is bein open by the ftpd process. but I never tried this. if this works, I'd like to hear about it.