Frequently our AS/400 sends data to our bank via FTP. The bank returns a 220 welcome message in the FTP log which includes the time. We would like to also see the date from the bank's UNIX computer recorded in our log.
I've tried a couple of things in our FTP script but the commands were rejected. As you can guess, the bank is not friendly to our experimenting.
Does anyone know a command we can issue from our FTP script that will return the date?
We tried "quote date" in our script but the UNIX system responded that it is not a recognized command, at least not recognized in an FTP session. (quote makes are not in the actual script)