infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Cloverleaf
FTP Filename in proc
Jason Russell
Help isn't helping a lot here, and I'm not seeing it in the args passed into a tcl tps proc, but is there a way to get the file name of a file picked up by the FTP process?
Find more posts tagged with
Clovertech
Comments
jcobane1
Jason,
Yes, this information is available within the DRIVER CONTROL portion of the metadata of the message. Here is a snippet of Tcl code that you could put into a proc in the inbound context that would give you that information from the message:
set myklst [msgmetaget $mh DRIVERCTL]
keylget myklst FILENAME myFileName
Hope that helps.
Jim Cobane - Henry Ford Health
jnelson
In a tclproc:
set meta_kl [msgmetaget $mh DRIVERCTL]
keylget meta_kl FILENAME FileName
In an Xlate:
set DriverCtl [xpmmetaget $xlateId DRIVERCTL]
keylget DriverCtl FILENAME FileName