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

#58846
Ray Mullen
Participant

    Hi Rentian , thanks for the call, I’m not sure if I can do it that way (or how to do it that way) because I am using the ftp protocol and the file is been written to a different server.

    The file will be snapped up by an external source every hour , so just before i write the details to the audit file i want to quickly count the no of messages and append it to the top.

    The directory structure can’t be changed on the external server can’t me changed so i cant write the file somewhere else and then move it out, so i am tryig to do it all in one go if you know what i mean.

    Also in this proc i am writing individual message files for each message to other directories on the external server(that bits working fine). i.e the log is just a file that contains the basic info of the messages written and a count at the top.

    ray