ETFTP - Enhanced Trivial File Transfer Protocol. Adaptive transmission protocol for radio based data transmission. Copyright (C) 1997, 1998 Defence Research Establishment, Dept. of Comm. Systems, FOA 72, Sweden. Currently maintained by Christian Jönsson FOA 72 <chj@lin.foa.se> and Torbjörn Frostemark FOA 72 <torfr@lin.foa.se>. This file is part of ETFTP version 1.1.3. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file GPL. If not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Running ETFTP ============= The protocol contains two parts: etftp - client etftpd - server daemon The server part should be started as a daemon by the inetd. Add following line to the /etc/inetd.conf etftp dgram udp wait root /usr/sbin/tcpd in.etftpd Also add the following line to /etc/services etftpd 1818/udp # ETFTP daemon To manually start the server, type `etftpd -i'. Other parameters are t - trace mode (creates a log file in current directory) v - verbose mode (creates a debug file in /var/log/) b n - set block size to n bytes per block To start the client program, type `etftp'. All parameters can be set inside the program. At the command line, type `?' for a complete list of etftp specific parameters. The program also takes some parameters when starting the program. These are the following [host] - host name t - trace mode (creates a log file in current directory) v - verbose mode (writes debug info to stdout) H - hash mode. Prints a `#' for each packet received. f s - read commands from a batch file named s Testing ETFTP ============= We normally test etftp by using a batch file for the client. Assuming that the etftp server is started on one host as ./etftpd -ivb 512 -l 1717 we start the etftp client on an other host using the batchfile.sample as ./etftp -f batchfile.sample Here's an example of the batchfile.sample: connect cassandra 1717 autoadapt on baudrate 970 binary blocksize 256 bufferblock 40 burstsize 10 hash off radiodelay 1 verbose on get /etc/services ./services.cassandra End example batchfile.sample.