Steve Williamson

Forum Replies Created

Viewing 4 replies – 1 through 4 (of 4 total)
  • Author
    Replies
  • in reply to: Need help splitting one message into multiple messages #62100
    Steve Williamson
    Participant

      It’s all working now.

      In addition to adding the sleep command to the outbound TPS to give me a unique file name, I had to be patient enough to leave the process running long enough for it to complete it’s output chores. 😳

      Thanks everyone for your help.

      Steve

      in reply to: Need help splitting one message into multiple messages #62099
      Steve Williamson
      Participant

        Thanks everyone!

        Scott, I am getting 2 messages, I’m using an outbound TPS to add a timestamp to the generated file name and updating the FILESET OBFILE key in DRIVERCTL metadata.

        This was in fact generating the same file name for both files so I put a 5 second sleep in the proc to insure a unique file name.

        There’s still something going on with the file names actually being created in the folder. One of them will have the name generated by the outbound TPS, and the other will have a filename of what was in the DRIVERCTL/FILESET/OBFILE key from the previous run of the input file through the engine.

        Once I do some more testing/echos to determine exactly what is happening I may have to ask(beg) for more help.

        Thanks again everyone.

        Steve

        in reply to: Any ideas for handling inbound files with spaces in the name #62053
        Steve Williamson
        Participant

          Thanks Charlie, that did the trick.

          Steve

          Steve Williamson
          Participant

            Thanks Jim,

            The problem really stems from the fact that the user may put multiple files in the folder all at once. Some may not have spaces but some may, you know how end-users are. 😯

            If I could count on the file list only having one file I could regsub out the spaces but since I may end up with a file list like

            ‘my file.txt my_other_file.txt’ due to lists being space delimited when I try parse the list I end up with invalid file names and really no fool proof way of preventing it or telling if the space is really the end of the file name or embedded in the file name.

            I may end up giving the user an FTP script to use that will only put files with proper names on the server.

            Steve

          Viewing 4 replies – 1 through 4 (of 4 total)