You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Rory Winston (JIRA)" <ji...@apache.org> on 2008/12/01 13:27:44 UTC

[jira] Closed: (NET-233) TFTPClient.sendFile doesn't work in binary mode

     [ https://issues.apache.org/jira/browse/NET-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rory Winston closed NET-233.
----------------------------

    Resolution: Cannot Reproduce

I have tried this locally, and cannot reproduce with 1.5 (HEAD) or 2.0. 

Can you try with 2.0?

> TFTPClient.sendFile doesn't work in binary mode
> -----------------------------------------------
>
>                 Key: NET-233
>                 URL: https://issues.apache.org/jira/browse/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 GNU/Linux
>            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 192.168.35.239 virt_shell.sh.gz virt_shell.sh.gz
> tftp program ends without error.
> The file virt_shell.sh.gz 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 192.168.35.55 filename virt_shell.sh.gz
> 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.