Hi,<BR><BR>I have been using -and love the text based search script. I did notice a problem but am not sure if it was because of something I did. The script generates an error<BR><BR><BR>Microsoft VBScript runtime error &#039 800a003e&#039 <BR><BR>Input past end of file <BR><BR>/TextSearch.asp, line 46 <BR><BR>This is the code with line 46<BR><BR>For Each objFile in objFolder.Files<BR> If Response.IsClientConnected then<BR> Set objTextStream = objFSO.OpenTextFile(objFile.Path,fsoForReading)<BR ><BR> strFileContents = objTextStream.ReadAll &#039line 46<BR><BR>Is there an easy way to test for an empty file? I&#039d appreciate a detailed description as I am a lowly webmaster -not an ASP pro. :)<BR><BR>