Case Study

A software integrator ran a sales-reporting system for a large telecommunications company. The reporting system used a combination of Java and Visual Basic to create an application for entering sales data. The telecom company also had a separate sales-reporting system containing additional sales that needed to be entered.

The telecom company created a batch job that extracted new sales data periodically and placed the data on an FTP server. The software integrator used the FTPSession class to periodically check for new files and download them. Using the doCommand method, the software integrator was able to delete files using the DELE command to avoid downloading the same file twice.

Get Special Edition Using Java™ 2 Enterprise Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.