Trivial FTP (TFTP) for PASE
Frustrated with the lack of a TFTP client available for IBM i, I went
and found the source for the FreeBSD TFTP client, made modifications so
that it would work in PASE on IBM i, and compiled it for PASE.
I did not write this code, and make no claims to it. This code came
from the FreeBSD Project
This tool is open source, distributed under the BSD license. This product includes software developed by the University of California, Berkeley and its contributors.
Click here for full license details.
Requirements
TFTP requires OS/400 V5R3 or later. You must have PASE installed.
Download the preceding files to your IFS. (For the sake of example, I'm assuming you downloaded them to the /tmp directory.)
Make sure the download was done in a binary-safe fashion (such as HTTP, FTP in binary mode, SCP, NFS, Windows Networking with Netserver translation off, etc.)
Log on to your i with an account with high authority. (Is *ALLOBJ required? Does anyone know?)
type the following:
- CALL QP2TERM
- cd /tmp
- uncompress -c tftp.tar.Z | tar xvf -
- mv /tmp/tftp/bin/tftp /qopensys/usr/local/bin
At this point, TFTP should be installed. The source code is in /tmp/tftp/src, the program is in /qopensys/usr/local/bin. Try it out!
Having Trouble?
If you are having trouble, the best place to seek assistance is in the System iNetwork forums:
http://forums.systeminetwork.com