web stats
SFTP Write Dynamic folders with host keys - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 11-18-2016, 01:25 PM
steelrat405 steelrat405 is offline
What's HL7?
 
Join Date: Apr 2016
Posts: 3
steelrat405 is on a distinguished road
Default SFTP Write Dynamic folders with host keys

Hello all,

I am using Mirth 3.4.2.8129.

I have a situation where I need to connect to an SFTP server and write a new folder based on date and copy a file into this location. I have looked over the forums and I see some examples using jsch but all the examples I have found are using username/password only, none that I have found use private/public keys.

Could someone point me to an example of jsch using keys or even better if there is a more elegant way to address this situation in the newer versions of Mirth point me to those examples.

Thank you for your time.
Reply With Quote
  #2  
Old 11-21-2016, 01:44 AM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 832
siddharth is on a distinguished road
Default

you don't need to go all complicated to use sftp. Select a file writer connector in Destination.Method as sftp, and then click on the wrench icon next to it. You have to specify the absolute path of the public key.ppk file.
Reply With Quote
Reply

Tags
key, sftp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 10:23 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation