Discussion Locked

I need a way to FTP from Mainframe to PC

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need to find a way to get a text file from a mainframe to the PC and have Windows poll for the file and run a script when it is found. Any ideas on how to do this?

9 replies

by techrepublic

I suppose it depends on what it is that you are describing as a "mainframe".

Couldn't you make a login script attempt to run the file? If it's not there, it will probably just carry on with the rest of the login script.

Just a thought, hope ithelps.

by mphoffar

Without knowing what OS this is running, I would suggest connecting into it via a terminal program (like procomm or something like that, and just type or cat, or whatever command will display a text file and capture it to a capture buffer. Anothe way would be to connect and use something like kermit to download it to a local station. A bit slow though.

IF this is a unix/linux type system, there should be a way you can have you admin there mount a fat16 or 32 partition on a windows machine you can get to or have you mount a share on the mainframe. In either case you can just poll for existance from there.

Good luck to you

Mark

by tbradley

If you have a tcp/ip connection to the mainframe, and ftp is running on the mainframe, you can write a dos script to logon via ftp, search for the file, and if present, download it to the PC.

The dos version of ftp in Win95/98 is perfect for this, although the batch file script is a little more difficult.

wow... it's been years since I've thought about writing a scripted batch file, but if you need some help, you can e-mail me direct.

by emcs

I use WS_FTP. It will transfer from PC to IBM mf, UNISYS mf, and to unix and back again. Once the file is on the PC, a batch file can be easily written, and then put into scheduler or executed at startup.

dennie

This discussion is closed to new replies.