Example dirparse UPoC Code?

Clovertech Forums Cloverleaf Example dirparse UPoC Code?

  • Creator
    Topic
  • #119615
    Lonnie Davis
    Participant

      Hello all!

      I’ve been searching this site for quite a while and can not seem to find any example code for writing a dirparse or deletion TPS proc.  I’m needing to write one to grab files from a FTP server with the criteria of modified date same as current date and with a specific naming convention.  Additionally, files read in by Cloverleaf should not be deleted from the FTP server.  I’m using Cloverleaf 6.2.6.

      I understand that the Directory Parse TPS returns a list of all files in a directory, or remote FTP directory, where it can be manipulated by a TCL proc.  This would be my first attempt at using dirparse and deletion procs so I don’t know where to start.

      Thanks in advance for any help or references to example procs!

      Lonnie

       

    Viewing 3 reply threads
    • Author
      Replies
      • #119617
        Jim Kosloskey
        Participant

          Lonnie,

          I can email you the code I use.

          Send me an email and I will reply with the code and User Doc

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        • #120790

          Hi Jim and  Davis

           

          its it possible to share the TCL proc used for deletion of file after if read from FTP

          In Bound folder .

           

          Thanks

          Raj

        • #120791
          Jim Kosloskey
          Participant

            Email me

            email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

          • #120792
            Charlie Bursell
            Participant

              What’s wrong with the fileset_dir_parse.tcl example in the contrib directory?

          Viewing 3 reply threads
          • You must be logged in to reply to this topic.