[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] tftp usage for newbie
From:       Nick Fedchik <fnm () fusion ! ukrsat ! com>
Date:       2003-02-14 9:04:03
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic