Of course, K's quite right, this would be the first thing to check! (If that doesn't work, I'll put your TXTSETUP on my server, changed slightly) Interestingly one of the files was empty. It now says "Windows \r\n" but it I'm still getting the problem. Did you get a chance to look at the TXTSETUP I posted? Regards, Cliff.