Send ADTs from same thread using FTP

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Send ADTs from same thread using FTP

  • Creator
    Topic
  • #51608
    gricelda lopez
    Participant

    i currently have an ADT thread called adt_ib and i have this interface sending outbound adt’s to 4 vendors using tcip, can i add another thread from adt_ib using protocol FTP?

Viewing 8 reply threads
  • Author
    Replies
    • #70954
      Nick Stainback
      Participant

      If you are wanting to send the ADT’s that come into the existing IB thread to a new outbound that is FTP then, yea just setup the new outbound thread as FTP, configure the log-in and folder information for the FTP server. and then add the route to the IB Thread for whatever Trxids you want to go the the new OB thread.  

      Hope this Helps,

    • #70955
      gricelda lopez
      Participant

      thank you soo much for your help

    • #70956
      Jim Kosloskey
      Participant

      Gricelda,

      I would suggest using a num file for the outbound FTP.

      This will limit the potential of collision (you are writing to the file while someone is trying to pick it up). This would mean the receiving system has to be able to handle multiple files.

      Even in this case some care should be used to try and mitigate the potential of collision (it still can happen with num file).

      The mechanism you deploy to mitigate collision will depend somewhat on the capabilities of the receiving system.

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

    • #70957
      Robert Kersemakers
      Participant

      Commenting on Jim’s worries…

      To avoid collisions, you can define a ‘Temporary File’ in your FTP Protocol Properties. You can even put in a different directory on the FTP-server, so the temporary file will be written first in this separate directory. After the file is complete, the file will be renamed/moved to the real (outbound) directory and the correct filename.

      Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

    • #70958
      Michael Hertel
      Participant

      Robert,

      Quote:

      After the file is complete, the file will be renamed/moved to the real (outbound) directory and the correct filename.

      How is this accomplished? If Cloverleaf can do this, what version did this capability become available?

      Thanks!

    • #70959
      Robert Kersemakers
      Participant

      Not sure when this option became available. We are on CL5.5 Rev 1 and you can define it very easily in the FTP Protocol Properties.

      See image attached. I put in for the real name of the file, because the real name will be defined per message with a num file.

      Works like a charm!!

      Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

    • #70960
      Michael Hertel
      Participant

      Thanks for the info Robert.

      We’re on 5.4.1

      First, I don’t see a numfile protocol.

      Second, the only one with a temporary file setting is in fileset-ftps.

      How interesting. Guess I’ll have to wait until we upgrade to 5.8.

      This will be a VERY helpful feature.

    • #70961
      James Cobane
      Participant

      To emulate the functionality of the older numfile protocol, you can use the the ‘fileset_numfile_out’ proc (found under the ‘contrib’ directory) in the outbound data context to create the numbered files.  You could modify this to fit your needs.

      Hope this helps.

      Jim Cobane

      Henry Ford Health

    • #70962
      Russ Ross
      Participant

      I have a fairly detailed example showing how to configure cloverleaf to produce numfiles at this URL that might help you gain the extra clarity and specifics you are seeking:

      <a href="http://clovertech.infor.com/viewtopic.php?t=1663&highlight=numfile&#8221; class=”bbcode_url”>http://clovertech.infor.com/viewtopic.php?t=1663&highlight=numfile

      Russ Ross
      RussRoss318@gmail.com

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

Forum Statistics

Registered Users
5,129
Forums
28
Topics
9,301
Replies
34,447
Topic Tags
288
Empty Topic Tags
10