×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Hi Terry,
Me too! :-)
Thanx,
Nick
Nick Radich
Sr. Programmer/Analyst
EPC Molding, Inc.
Direct (320) 679-6683
Toll free (800) 388-2155 ext. 6683
Fax (320) 679-4516
nick_radich@xxxxxxxxxxxxxx
From: Terrence Enger <tenger@xxxxxxxxxxxxxxxx>
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Date: 09/29/2010 06:08 PM
Subject: RE: FTP Session Interactivity in a Program
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
On Wed, 2010-09-29 at 18:14 -0400, Dennis Lovelady wrote:
Hi, Terry:
I would like a copy, if you don't mind extending that offer to me. :)
Thanks!
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
It's on its way.
The offer is open to anyone who is interested. By way of a "sales
pitch", I append a sample CLP.
Enjoy,
Terry.
-----------------------------------------------------------------
pgm
dcl &handle *dec (3 0)
ftpapi action(*Conn) rethandle(&handle) +
host('localhost') +
user('tenger') password('xxxxxxxxxx')
ftpapi action(*NamFmt) handle(&handle) +
namfmt(*ifs)
ftpapi *binaryMode &handle newsetting(*on)
ftpapi *RmtCmd &handle +
icmdstr(crtsavf qtemp/renamed)
ftpapi *put &handle +
rmtname('/QSYS.LIB/QTEMP.LIB/RENAMED.FILE') +
lclname('/QSYS.LIB/V40LBTXE.LIB/THING.FILE')
ftpapi *RmtCmd &handle +
icmdstr(dsplib qtemp output(*print))
ftpapi *RmtCmd &handle +
icmdstr(dspsavf qtemp/renamed output(*print))
ftpapi *quit &handle
endpgm
As an Amazon Associate we earn from qualifying purchases.