Creating the TFTP configuration file

The primary factor to consider when designing the TFTP configuration file is the scope of access permissions that a TFTP client can have; that is, do you want the client to be able to write in any directory and if existing files can be overwritten.

Use the following commands to create the TFTP configuration file on your z/TPF system:

zfile cat /etc/tftp.conf
zfile echo log=/tmp/tftp.log > /etc/tftp.conf
zfile echo auth:444 >> /etc/tftp.conf
zfile echo allow:/dirname >> /etc/tftp.conf
zfile cat /etc/tftp.conf
Where:
dirname
is the name of a directory that contains files that you want to access.
Note: After you enter zfile cat /etc/tftp.conf the first time, you will receive the message No such file or directory. Ignore this message and continue.

To create the TFTP configuration file on another system, create a file with the directives that you require and transfer the file to your z/TPF system. The file is automatically translated from ASCII to EBCDIC by the TFTP server when you use the ASCII or NETASCII transfer mode.