web stats
File name from File Reader (FTP) - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 12-28-2015, 10:12 AM
srinidelta srinidelta is offline
What's HL7?
 
Join Date: Nov 2015
Posts: 3
srinidelta is on a distinguished road
Default File name from File Reader (FTP)

Hi,

I have a FTP file reader as source connector and using *.* as the filename filter pattern.
I want to get the actual file name that the connector read in source transformer.

Thanks again.
Reply With Quote
  #2  
Old 12-30-2015, 01:10 AM
venkatepost venkatepost is offline
What's HL7?
 
Join Date: May 2013
Location: Bangalore, India
Posts: 2
venkatepost is on a distinguished road
Send a message via Yahoo to venkatepost Send a message via Skype™ to venkatepost
Thumbs up File name from File Reader (FTP)

Hi Srinidelta,

You could use sourceMap.get('originalFilename')
__________________
regards

Venkat

Last edited by venkatepost; 12-30-2015 at 01:16 AM.
Reply With Quote
  #3  
Old 12-30-2015, 08:48 AM
srinidelta srinidelta is offline
What's HL7?
 
Join Date: Nov 2015
Posts: 3
srinidelta is on a distinguished road
Default

That worked like a charm. Thanks venkatepost.
Reply With Quote
Reply

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 09:17 AM.


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