I am using webMethods 6.0 Integration Server, with an FTP port configured. When an FTP client does a ‘put’ to the Integration Server, the file shows up in the named flow service (in the ‘/ns/flowservice’ directry) as a content stream object. I can get the content of the input file and store it on the file system by doing a writeToFile, but what I need to be able to do is get the original name of the imcomming file (so I can use it for naming the file that I store. The file is binary, so the FlatFile package doesn’t seem to apply.) Is there a way to get the name of the incomming file from within the flow service that is executing?
Can anyone give me some pointers on this?