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?
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