[BusyBox] tftp usage for newbie
Nick Fedchik
fnm at fusion.ukrsat.com
Fri Feb 14 09:04:03 MST 2003
On Fri, 14 Feb 2003, northbay wrote:
>I am trying to transfer files between 2 devices using
>tftp. I edited the inetd on one device to start the
>tftpd service by uncommenting the line:
>tftp dgram udp wait nobody /usr/sbin/tcpd in.tftpd
>/tftpboot
>
>Started the service and tried to use the tftp command
>to transfer a file but not sure of the proper syntax.
>The device running tftp service is 20.20.20.2. Tried:
>tftp -g filename.txt 20.20.20.1 and also tftp -g
>20.20.20.1 filename.txt but it doesn't work. Any
>ideas? How can I test the service to make sure it is
>running? Thanks for any help.
# ./busybox tftp --help
BusyBox v0.61.pre (2003.02.04-12:10+0000) multi-call binary
Usage: tftp [OPTION]... HOST [PORT]
Transfers a file from/to a tftp server using "octet" mode.
Options:
-l FILE Local FILE.
-r FILE Remote FILE.
-g Get file.
-p Put file.
So try next:
tftp -g -r filename.txt 20.20.20.1
--
Nick Fedchik, FNM3-RIPE(UANIC)
Internet Dept./ISP UkrSat, Kiev, Ukraine
More information about the busybox
mailing list