Page 1 of 1

FTP and mainframes.

Posted: Mon Aug 07, 2023 4:46 pm
by Abbey Tiwari
Hi,

How to check whether FTP connection is available or not in mainframe?

Re: FTP and mainframes.

Posted: Mon Aug 07, 2023 5:21 pm
by zum13
If you're logged onto TSO or running IKJEFT01 in batch, run "NETSTAT ALL (PORT 21" and you should get a whole load of info for the port back if the FTP daemon is running (assuming no one has changed the port number; 21 is the standard default). If you're a client wanting to connect in, then either try to connect or use a tool like "nmap" to see if the FTP port is open.