Do you need SSL support? If not, look at Scott K's FTPAPI.
http://www.scottklement.com/ftpapi/
I am sure this could be enhanced to support SSL, but I'm not sure if anyone has done the work already... Still, it's great way to handle FTP.
Hth,
-Eric DeLong
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John McKee
Sent: Friday, June 01, 2012 10:09 AM
To: Midrange Systems Technical Discussion
Subject: FTP script variables
I've never seen anything about an input file of FTP commands using
variables. My assumption is that FTP won't work that way.
In the past, I have built FTP scripts on the fly. This latest vendor
"request" seems like another one of those cases.
This is FTP and not sFTP.
Same location. Different filename throughout the day. I can build
the script dynamically, or just make copies of the exiting script and
change the put command.
Just wondered if CL variables could be used.
John McKee
As an Amazon Associate we earn from qualifying purchases.