Fileset-local configuration granularity

Clovertech Forums Cloverleaf Fileset-local configuration granularity

  • Creator
    Topic
  • #119271
    Ryan Boone
    Participant

      Is it possible to get file sizes via fileset-local directory parse, or to pause a read in-process without stopping the thread, in order to regulate flow more granularly?

      Thanks!

    Viewing 2 reply threads
    • Author
      Replies
      • #119272
        Jim Kosloskey
        Participant

          If you are on CL release 6.0 or later, I believe checking the box for extended file specification in the Fileset Local Protocol will provide (among other things) the file size. When asking for the extended file specifications, the resulting list is a list of lists.

          Then in the Dirparse UPoC you can check the file size and do whatever you want. If I am incorrect and the file spize is not one of the extended specifications provided, you can always use Tcl commands to get the file size for each file in the DirParse list.

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

        • #119273
          Ryan Boone
          Participant

            Thanks, Jim!

            Yep, I missed the List Full Directory checkbox, and the file size is included:

            {file1 {{LENGTH 4567} {MTIME 1416347174}}} {file2 {{LENGTH 322} {MTIME 1716347174}}} {file3 {{LENGTH 8888} {MTIME 1416347999}}}

            Ryan

          • #119275
            Dirk Engels
            Participant

              I’m wondering where I can find that mysterious check box? I cannot find it in my files/local protocol settings. Could you please assist? Maybe a screenshot?

              • #119276
                Levy Lazarre
                Participant

                  Hi Dirk,

                  Go to your fileset-local thread -> Properties Tab

                  Click on ‘Properties…’

                  Click the ‘Edit…’ button next to ‘Directory Parse:’

                  This will bring up the ‘Directory Parse TPS Editor’ window.

                  You can see the ‘List Full Directory’ checkbox at the bottom of this window.

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