Hello all again!
I have a system where a file is transferred from a host by FTP to a Solaris machine into a particular directory.
Once this file is fully downloaded, I have set up an FTP process to retrive the file and bring it back ot amy local Linux box.
The problem is.....the file can be quite large and the timing of it arriving on the Unix box is not certain. So I need to know the file is complete before trying to bring it back to the Linux box.
The one thing in favour is the file always has the same line beginning at the end of the file "TRLDOWNLOAD" (no quotes)
So maybe I could search for the end of the file and if it exists start my FTP process?
Is this possible. ps; I cannot FTP backwards from the Sun box to my Linux machine
Thanks in advance