Get AS/400 FTP session to echo back data and time

6765 pts.
Tags:
AS/400
AS/400 FTP
FTP
iseries v5r4
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)



Software/Hardware used:
AS/400 running V5R4

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    How about doing a
    dir
    or
    ls
    on the file after putting it ?
    put yourfile
    dir yourfile
    70,190 pointsBadges:
    report
  • WoodEngineer
    Good idea, Carlos. Thanks for the suggestion.
    6,765 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following