[Bug 11041] New: tftp client reports ERRROR when tftp server does not support block option

bugzilla at busybox.net bugzilla at busybox.net
Thu May 24 11:00:25 UTC 2018


https://bugs.busybox.net/show_bug.cgi?id=11041

            Bug ID: 11041
           Summary: tftp client reports ERRROR when tftp server does not
                    support block option
           Product: Busybox
           Version: 1.28.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Networking
          Assignee: unassigned at busybox.net
          Reporter: mabnhdev at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Performing a tftp file transfer with a non-default blocksize against a tftp
server that does not support the blocksize operation results in the following
message:

Error: falling back to blocksize 512

The command succeeds if the file being transferred does not exceed the server's
file size limit.

The message is misleading and uninformative since, in most cases, the transfer
does indeed succeed.

The command does return the correct status to the shell - it is the "warning"
itself that is misleading.

I propose printing out the following more informative message instead.

Note: the block size option is not supported by the remote TFTP server.
      Without this option, transfers may be significantly slower and
      may be subject to transfer size restrictions.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list