Skip to content

Instantly share code, notes, and snippets.

@mhokanson
mhokanson / SFTP_JS_Source_Connector_example.jsx
Last active September 15, 2025 22:01
Accept files via SFTP in Mirth Connect from a Javascript Reader
var sftpConfigs = [
{
"name":"SFTP 1",
"host":"127.0.0.1",
"port":"22",
"directory":"/folder/path/to/messages",
"username":"username1",
"password":"password1",
"isBinary": false,
"afterReadAction":{
@mhokanson
mhokanson / ReadMe.md
Last active November 6, 2025 01:48
Nextgen/Mirth Connect testing in VSCode

Requires:

  • Mirth Connect to be installed locally
  • VSCode task set up with paths pointed to the local Mirth instance (provided file are for default Windows locations)
  • vs_mirth.js should be placed in the location specified in line 14 of the build task (arg 4)
  • Executed file has to be based on a saved file NOTE: Changes don't have to be saved to execute as the build task will save the file if needed.