Announcement

Collapse
No announcement yet.

SFTP - can you create a folder in the destination dynamically?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SFTP - can you create a folder in the destination dynamically?

    We are on Mirth 3.7.0 (Appliance). My world is more regular HL7, but I'm now moving over to the SFTP space. I have a requirement to dynamically create a folder on the SFTP destination (based on date) and then place the files in that new folder. I'm guessing if this is even possible it will need to be done via script. Has anyone had a similar requirement? I think I can get the variable easily enough, but the folder creation has me stymied.

    Thanks,

    Brad
    SIG|1|Brad|Mirth Certified Interface Analyst^Cancer Treatment Centers of America

  • #2
    You don't need to do anything special. Mirth will make directories in the path that don't exist before trying to write to the file as long as the account has permission to do so.

    Comment


    • #3
      Thanks - worked exactly like you described!
      SIG|1|Brad|Mirth Certified Interface Analyst^Cancer Treatment Centers of America

      Comment

      Working...
      X