Hi, In your situation I would try doing something like: a) Check the size of the local file b) connect to the remote computer c) check the size of the remote file d) if local and remote file sizes do not match then I would use seek to jump to offset where my file ends. e) read in the changes and append them to my file f) close connection
Hope you understand what I have in mind, I think that if you move with seek forward exactly the number of bytes your file has, you will be at the beginning of the lines that you want to get. I didn't test it, and I'm not quite sure. Have Fun, Mulander -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>