David Day wrote:
I have a mainframe application that uses FTP to transfer some data to a PC.
Currently use FTP in an ISPF application to an FTP Server, FileZilla, on the
desktop. Data gets where its supposed to go, and in the correct format. Does
anyone know if there is any way to tell Windows to run a script from MVS?
Either as part of the FTP session, or some other method? I would like to be
able to transfer the data and update the database on the desktop without user
intervention on the Windows side.
--Dave Day
Not sure about FileZilla, but some distributed FTP servers have the
option to execute a script/command every time a file transfer is successful.
Does the FTP from z/OS happen on a predetermined schedule? If so, just
use Task Scheduler to schedule a task that executes at that time, checks
for the file, if its there, do "whatever", if it is not there, go to
sleep and wake up 5 minutes later.
If the Windows server is running telnet/ssh server you could always
write a script to login to the Windows box and run a command.
I think you could even write a script/app on z/OS to make a RCP call to
the Windows server.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html