Modernize Fast & Affordably. Presto rapidly Web Enables green screen apps & lets you add New Functionality; Links, Images, Google Maps, Drop downs…. WebSmart (ILE or PHP) rapidly develops new IBM i or open source, multi-platform Web apps. Thousands of organizations have modernized with BCD. See why, by Proving it ALL up front on a Free Trialor Live Web Demo. Read More >>
Create an RPG program to retrieve a list of existing files on an FTP server.
Written by Tom Snyder
In a previous article, I discussed how to upload a file to an FTP server and how to automate the process using RPG in a manner that would allow your program to evolve to easily support future modifications and server additions and changes. In this article, I'll discuss how you can retrieve information from an FTP server and use that information to download files.
Come to the RPG & DB2 Summit for three full days of intensive, inspiring education focused on RPG IV, SQL, DB2, ILE, RSE, PHP, RPG & Web and more. Learn the latest in practical, use-it-now tips and techniques from top gurus Jon Paris, Susan Gantner, Skip Marchesani, Paul Tuohy, Scott Klement and others in a fun, highly interactive, invigorating environment. Save $200 — register using code MCPF09.
This is the second in a series of articles related to detecting when an inquiry message has been sent on your system and then making processing decisions based on the inquiry message. The underlying technology being used is known as the reply-handling exit program and has been available since V5R2.