From: "Mulander" <[EMAIL PROTECTED]>

Hi,
In your situation I would try doing something like:

a) Check the size of the local file

**
My program does that.

b) connect to the remote computer
c) check the size of the remote file

**
Yes, I am doing that.

d) if local and remote file sizes do not match then I would use seek
to jump to offset where my file ends.

**
I have tried that, but with a few problems. Although I will run the program
under Linux, I have tested under Windows and I have forgotten to use binmode
so the program was not working. Then I have made it work, but I still don't
know something.

I can get the rest of the file from that point to the end of the file, then
split that text by "\n" in more lines.... this is not a problem, but the
problem of while loop still remains.

I will try to test File::Tail and family and I hope I won't lose some lines
because each of them is very important.
I hope it won't overuse the system if I will put a wait time of 0 seconds.

Teddy


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to