File Polling API

WM has lumped in file polling as another PORT on the box. So, from my perspective, I can poll for files and only receive an input stream. Does anyone know of an API that can provide the FILE DETAILS like size, name, timestamp, etc.? If I use my own custom file poller, I have all of the information available.



Hi Ray,

I used wm6.0 a couple months back so bear with me, but I believe you get some of that info like the originalFilename in the pipeline (do a tracePipeline at the top and have your file polling service triggered to check what’s in the pipeline). I think I did a ‘pub.flow:getTransportInfo’ call to get more info.



Good catch on this one. I have to call pub.flow:getTransportInfo and then pub.flow:transportInfo. Thanks again.