commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Alexander (JIRA)" <>
Subject [jira] Created: (NET-233) TFTPClient.sendFile doesn't work in binary mode
Date Fri, 12 Sep 2008 17:25:44 GMT
TFTPClient.sendFile doesn't work in binary mode

                 Key: NET-233
             Project: Commons Net
          Issue Type: Bug
    Affects Versions: 1.4
         Environment: [root@balexander-dev-env tftpd]# uname -a
Linux balexander-dev-env 2.6.9-34.ELsmp #1 SMP Thu Mar 9 06:23:23 GMT 2006 x86_64 x86_64 x86_64

            Reporter: Bill Alexander

The TFTPClient class won't send a file in binary mode.

To reproduce:

1. Compile examples.tftp
2. java -cp <classpath> examples.tftp -s -b

tftp program ends without error.

The file shows up on the destination host, but has zero bytes.  The following
messages are generated by tftpd (which has the -v option turned on).

Sep  9 10:59:08 balexander-dev-env in.tftpd[3266]: WRQ from filename
Sep  9 10:59:09 balexander-dev-env in.tftpd[3266]: tftpd: read: Connection refused

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message