>Is there a way to detect if a non VFP file is open by a user? I have a VFP program that writes out a html file to a IIS4 directory/server. Problem is if someone has just pulled that html file up on their browser its opened and VFP cant touch it for about 30 seconds. I have IIS4 set to not keep HTTPs alive and disconnect timeout set to 0 seconds. Wish there was a utility to break the open connection!
>
You can try to open the file for Read/Write.
lnFH = FOPEN(lcPdfFile, 12)
IF lnFH > 0
=FCLOSE(lnFH)
ELSE
ENDIF
--sb--