Reply To: tcl help to count no of messages and append to the top

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf tcl help to count no of messages and append to the top Reply To: tcl help to count no of messages and append to the top

#58851
Ray Mullen
Participant

    Great thanks for all your responses , i really appreciate all the time you spent trying to help me out. There’s a lot of food for thought there.   In response to some of your queries Kevin,  the way it works is as follows:

    there is a from thread that picks up messages and routes them to a ftp thread which i have configured to create individual message files but also write a log just containing the control id of the message e.t.c. The file will be in xml format, but the snag is they want the msg count at the top OF the log .

    They dial in at certain intervals and snap up all the files including the log, so when all files are gone the process just carries on creating new files and a new log. The count will only be the number of messages in the log at that time.

    The thing is I was trying to do it in one go rather than writing locally first and then ftping. I didnt want to create more threads in order to ftp.

    Once Again , I appreciate all the effort everyone spent , helping me out

    Kind Regards

    Ray