How to get filename from FTP listener port

I have configure FTP listener port and expecting flat file coming in. I have created a service that input is expecting object. How am i to get the filename? It’s seem no way we can get the file name from pipeline. Please asist ASAP.


You can call the service pub.flow:getTransportInfo. The output from this service will contain the filename of the file uploaded to the FTP listener.


You can get the filename and the file object from the service getTransportInfo in WmPublic. I believe that it is in pub.flow:getTransportInfo