Writing Multiple Files Out to a Directory using FTP

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Writing Multiple Files Out to a Directory using FTP

  • Creator
    Topic
  • #53977
    Shannon Laughlin
    Participant

      Hello!  I have an FTP process this is supposed to pick up a number of files from a remote directory and place them in a back end directory on Cloverleaf.  The process to pick up the files works correctly but I don’t see how I can write out multiple files to the CL directory.   In the FTP properties window, it has a place ot enter a single file name but nothing for multiple files.  The files I’m picking up are named test_20131226_1301.txt and test_20131216_1305.txt and I need both of them to post to the directory as individual files.  Is there a way to do this?  Right now they are both appending to one file.  

      Thank you,

      Shannon

    Viewing 2 reply threads
    • Author
      Replies
      • #79748
        bill bearden
        Participant

          It sounds like you are using some GUI ftp client. You mention an “FTP properties window”. In “normal ftp”, I would do an MPUT.

          You might try just putting a directory path, but no file name, in the “place to enter a single file name”. It is possible it will copy each of the files with their current names to that directory. That would be similar to what one would get with an MPUT.

        • #79749
          Shannon Laughlin
          Participant

            Yes, I am attempting to use the GUI FTP within Cloverleaf.  I tried entering the path as you suggested but I get an error.  When I enter a file name instead of the directory it appends all files into one.

          • #79750
            Jim Kosloskey
            Participant

              Shannon,

              If you want eh OB files to have the same name as the IB files I have a proc that will do that. If this is what you want, email me and I will send the proc and user doc. My email address is on my profile.

              If you want each output file to have a different name than the ib file and each have a different name (such as filea in is to become file1 out, fileb in is to become file1 out) then I think you will need a proc and I don’t have one that does that.

              email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 60 years IT – old fart.

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.