I am doing on the fly audio converting with ASP. The user clicks on a file in one listbox and then I convert 6 files from pcm to mp3 format. Once the files have been converted I display a list of them in another listbox. At the moment I have to do a while loop up to 10000 times with each loop searching to see if the converted file exists. If it does I exit the loop. Of course this means the server is full on taking up processer memory for the course of the loop. Is there a wait function so that I can just search to see if the file exists every five seconds or so?