Thanx! That's it. Regards Sven Ilariu Raducan schrieb: > file.read() reads all the file once > a second call to file.read() returns 0 (EOF) because you already read > everything > > Lale