Bug 40421

Summary: tftp send error
Product: Ant Reporter: LouKunKun <loukunkun>
Component: CoreAssignee: Ant Notifications List <notifications>
Status: RESOLVED INVALID    
Severity: normal Keywords: APIBug
Priority: P2    
Version: 1.4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

Description LouKunKun 2006-09-06 07:18:35 UTC
Dear:
  I am Chinese programmer,my English is very bad.I hope I can explain my 
question clearly.
 
  When I test the example file tftp.java in commons-net-1.4.1
\src\java\examples\,I found a question:
  When I send a local file to the tftp server, the end of the file can not be 
sended to the server.
  It is that the file can not sent completly
 
  When I saw the source code, I find the function:sendFile in the 
TFTPClient.java have some errors.When the transfer go to the end,it doesn't 
send the last part.
Comment 1 Peter Reilly 2006-09-06 07:55:25 UTC
This is not an ant problem, it is a commons-net problem.
Please reenter the bug for that product, and
give a little more detail on the nature of
the problem in sendFile, Thank you.