From: Ahmed Moustafa <amoustafa@pobox.com> > When a file is transferred via FTP, when is the EOF character added to > the file (only at the end of transmission or also during the > transferring)? Usualy not at all. If you transfer the file in binary mode NOTHING will be modified in it at all. If you transfer it in ascii mode then only the end of line characters will be converted to those your OS uses (well in case the server uses EBCDIC and the client ASCII or the other way around I believe this is also converted. But you are unlikely to encounter EBCDIC these days.) Anyway when reading file you don't need any end of line character, the system KNOWs how long is the file at the moment and <FILEHANDLE> will return undef if you've read all there is. Jenda =========== Jenda@Krynicky.cz == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain I can't find it. --- meThread Previous | Thread Next