File Polling How to Get Content

I have a file polling listener set up on my wM 6.0 server. If I place an XML file in the monitored directory, my processing service does kick off. However, there’s nothing in my pipeline (I did a pub.flow:tracePipeline and a pub.flow:savePipelineToFile). How do I get the content? If I call pub.flow:getTransportInfo, it does have my file name and content type set correctly.

Hi Annie,
Please use the below link for file polling listener.