We have a requirement to run FTP in batch, but with the facility to test the FTP return codes (as with interactive FTP) as and when they occur, and to take corrective or alternate action depending on the FTP return codes. From what I can see, both interactive and batch FTP uses the same 'FTP Kernel'. Do you know where I can find the specifications for this 'kernel'?

If I'm not mistaken, it was originally based on the same as all the other FTP kernels -- RFC 959 published in 1985. There are FTP API's located in the Information Center. You can also over ride the file output in a batch routine to a flat file. After you run your FTP script, you can read that file to check for your FTP error codes and run recovery routines accordingly. Tim Granatir wrote some pretty nice tips on FTP resources on the site. Search for FTP tips on the Search400.com site and you will see them.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your OS/400 questions -- or help out your peers by answering them -- in our live OS/400 discussion forums.

Ask the Experts yourself: Our OS/400 gurus are waiting to answer your questions.

Check out this Search400.com Featured Topic: Top 10 expert tips for OS/400

This was first published in July 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

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
Sort by: OldestNewest

Forgot Password?

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

Your password has been sent to: