Source - File Reader using SFTP

vendredi 20 février 2015

Hi Everyone,

I am using SFTP in Mirth (version - 3.0.1) to read file from server and supposed to write it on the another server.

The channel is able to connect to the server (Test Read Successful)and also the specified file is present on the server from where we want to fetch. All permissions are given to the file and to the folder containing that file. Below are the attributes given to the channel as-



Source Connector Data Type - EDI/X12

Destination Data Type - EDI/X12

Source Connector Type - File Reader

Method - sftp



When I deploy this channel I got following error-



ERROR (com.mirth.connect.connectors.file.FileReceiver:33 7): Unable to route: java.io.IOException: Could not completely read file xyz.277

at com.mirth.connect.connectors.file.FileReceiver.get BytesFromFile(FileReceiver.java:524)

at com.mirth.connect.connectors.file.FileReceiver.pro cessFile(FileReceiver.java:319)

at com.mirth.connect.connectors.file.FileReceiver.pro cessFiles(FileReceiver.java:239)

at com.mirth.connect.connectors.file.FileReceiver.pol l(FileReceiver.java:194)

at com.mirth.connect.donkey.server.channel.PollConnec tor$PollConnectorTask.run(PollConnector.java:141)

at java.util.TimerThread.mainLoop(Unknown Source)

at java.util.TimerThread.run(Unknown Source)





Thanks





Source - File Reader using SFTP

0 commentaires:

Enregistrer un commentaire