O'Reilly logo

Special Edition Using Java™ 2 Enterprise Edition by Mark Wutka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required