Transfer a file from/to tftp server

        -l FILE Local FILE
        -r FILE Remote FILE
        -g      Get file
        -p      Put file
        -b SIZE Transfer blocks of SIZE octets

/ # tftp -r mtdblock4 192.168.2.99
BusyBox v1.22.1 (2014-07-03 15:30:22 CST) multi-call binary.

Usage: tftp [OPTIONS] HOST [PORT]

Transfer a file from/to tftp server

        -l FILE Local FILE
        -r FILE Remote FILE
        -g      Get file
        -p      Put file
        -b SIZE Transfer blocks of SIZE octets

/ # tftp -r mtdblock4 -g 192.168.2.99 > cat /dev/mtdblock4
mtdblock4             20% |******                         | 10688k  0:01:15 ETAtftp: write error
mtdblock4             20% |******                         | 10852k  0:01:18 ETA
/ # tftp -r mtdblock4 -g 192.168.2.99 > /dev/mtdblock4
mtdblock4             20% |******                         | 10724k  0:01:19 ETAtftp: write error
mtdblock4             20% |******                         | 10856k  0:01:22 ETA
/ # Transfer a file from/to tftp server
/bin/sh: Transfer: not found
/ #
/ #         -l FILE Local FILE
/bin/sh: -l: not found
/ #         -r FILE Remote FILE
/bin/sh: -r: not found
/ #         -g      Get file
/bin/sh: -g: not found
/ #         -p      Put file
/bin/sh: -p: not found
/ #         -b SIZE Transfer blocks of SIZE octets
/bin/sh: -b: not found
/ #
/ # / # tftp -r mtdblock4 -g 192.168.2.99 > cat /dev/mtdblock4
block4        /bin/sh: /: Permission denied
/ # mtdblock4             20% |******                         | 10688k  0:01:15
ETAtftp: write error
lock4             20% |*****/bin/sh: 10688k: not found
*                         | /bin/sh: mtdblock4: not found
10852k  0:01:1/bin/sh: bin: not found
/ # mtdblock4             20% |******                         | 10852k  0:01:18
ETA
 -r mtdblock4 -g 192.168.2.9/bin/sh: 10852k: not found
9 > /dev/mtdblock4
mtdblock4/bin/sh: mtdblock4: not found
             2/bin/sh: bin: not found
0% |******    / # / # tftp -r mtdblock4 -g 192.168.2.99 > /dev/mtdblock4
       | 10724/bin/sh: /: Permission denied
/ # mtdblock4             20% |******                         | 10724k  0:01:19
ETAtftp: write error
            20/bin/sh: 10724k: not found
% |******                         | 10856k/bin/sh: bin: not found
/bin/sh: mtdblock4: not found
  0:01:22 ETA
/ # mtdblock4             20% |******                         | 10856k  0:01:22
ETA
/bin/sh: 10856k: not found
/bin/sh: bin: not found
/bin/sh: mtdblock4: not found
/ # / #
/bin/sh: /: Permission denied
/ # / #
/bin/sh: /: Permission denied
/ # / #
/bin/sh: /: Permission denied
/ # tftp -r mtdblock4 -g 192.168.2.99 -l /dev/mtdblock4
mtdblock4            100% |*******************************| 53248k  0:00:00 ETA
/ # tftp -r mtd6 -g 192.168.2.99 -l /dev/mtdblock6
mtd6                  22% |******                         |  8221k  0:00:48 ETA[ 5863.429389] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x60e0000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x60e0000!
[ 5863.446916] end_request: I/O error, dev mtdblock6, sector 16896
tftp: write error

/ # tftp -r mtd5 -g 192.168.2.99 -l /dev/mtdblock5
mtd5                 100% |*******************************| 26624k  0:00:00 ETA
/ # tftp -r mtd6 -g 192.168.2.99 -l /dev/mtdblock6
mtd6                 100% |*******************************| 36864k  0:00:00 ETA
/ #
