Directory Parse for SFTP file pick up

Clovertech Forums Cloverleaf Directory Parse for SFTP file pick up

  • Creator
    Topic
  • #120546
    Chris Roca
    Participant

      I am trying to figure out how I can parse a vendors FTP Site and only retrieve files with a specific prefix in the filename.  Files that match my name criteria would be moved from  the vendor site while files that do not match the criteria are left on the vendor site.

      Any similar procs you think might be helpful are welcome.  Thanks.

    Viewing 1 reply thread
    • Author
      Replies
      • #120547
        Jim Kosloskey
        Participant

          If you are on Cloverleaf 19.2 or later (I think this started with 19.2) you should have a file mask property which allows some selection of files. No Procs needed.

          This assumes all of the desired files are in the same directory.

          Otherwise I think there are example DirParse procs somewhere in the distribution libraries. If you want, I have a proc set I use for DirParse and if you want those, email me.

          In both cases, the Fileset/FTP Protocol does the actual selection of file candidates from the source location.

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

        • #120548
          Chris Roca
          Participant

            Thanks Jim,

            We are running Cloverleaf 19.1, sounds like the mask property is a great improvement.

            I will reach out to regarding the DirParse.

             

        Viewing 1 reply thread
        • You must be logged in to reply to this topic.