No announcement yet.

Multiple SFTP Readers/Writers to same destination

  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiple SFTP Readers/Writers to same destination

    We have an SFTP writer channel and multiple SFTP reader channels writing and reading from the same SFTP server (but different folders).
    Will they all share/reuse the same SFTP connection or should we stagger the write/read times so they don't fall on the same time?
    I know the FileWriter has now the "Keep connection Open" property, but our concern is that the readers causing conflicts polling at the same time?
    Any experiences/best practices appreciated.

  • #2
    Are you using the same credentials? If so, do you need to have multiple readers?

    Could you use one reader and then use the folder path to determine what action to perform.

    I have a scenario where are hit the same SFTP server but have different credentials. In my case, I stagger the reads using CRON on the source.


    Mirth Certified|Epic Bridges Certified|Cloverleaf Level 2 Certified

    Appliance Version 3.11.4
    Mirth Connect Version 3.8.0
    Java Version 1.6.0_45-b06
    Java (64 bit) Version 1.6.0_45-b06
    Java 7 (64 bit) Version 1.7.0_151-b15
    Java 8 (64 bit) Version 1.8.0_181-b13
    PostgreSQL Version 9.6.8


    • #3
      sftp readers/writers establish their own connections and don't share.

      An alternative to force the sharing of the connection could be to mount the sftp server and treat it as a local file.