Get filename in FTP

From the ftp session to the webMethod Integrator, I have cd to a Java service and put a file. From the Java service in the Developer, I have put this statement

InputStream is = (InputStream) IDataUtil.get(idc, “contentStream”);

to capture the file content. Can someone tell me if there a way to capture the filename that I put from the Ftp session ? Thanks.

Use the service pub.flow:getTransportInfo.