[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Complete FTP session from a CL program
Sender: "Art Tostaine, Jr." <artjr@xxxxxxxxxxx>
I'd like to see it Buck. Vote=Yes.
Art Tostaine, Jr.
CCA, Inc.
Jackson, NJ 08527
-----Original Message-----
From: owner-ftpapi@xxxxxxxxxxxxx [mailto:owner-ftpapi@xxxxxxxxxxxxx] On
Behalf Of Buck Calabro
Sent: Tuesday, August 12, 2003 1:15 PM
To: ftpapi@xxxxxxxxxxxxx
Subject: Complete FTP session from a CL program
Sender: "Buck Calabro" <Buck.Calabro@xxxxxxxxxxxx>
I've wrappered a simple FTP client using FTPAPIR4 into a command so I
can do a get/put from within a CL program. Is there any interest in
putting it in the project?
It looks like so:
===> FTPCMD DIRECTION(*RCV) HOSTNAME(AS400COM) USERNAME(buck)
PASSWORD() LOCAL(
'/qsys.lib/aptgenbu1.lib/ftpapisrc.file/install.mbr')
REMOTE('/qsys.lib/buck.lib
/ftpapisrc.file/install.mbr')
It has a limitation at the moment of only handling NAMEFMT 1 (*PATH)
because LSTAT wants a *PATH, not LIB/FILE.MBR.
--buck
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------