commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Puntev (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (NET-668) Commons net 3.5 and 3.6 have different implementation for uploading files over TFTP
Date Mon, 25 Mar 2019 09:59:00 GMT

    [ https://issues.apache.org/jira/browse/NET-668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16800526#comment-16800526
] 

Ivan Puntev edited comment on NET-668 at 3/25/19 9:58 AM:
----------------------------------------------------------

I think the issue is coming from line 388 in the TFTPClient class of 3.6 version of the library:

if (recdPort == port) { // must not use the control port here

I think at some point it was throwing: IOException("Incorrect source port ("+recdPort+") in
request reply.");


was (Author: ip):
I think the issue is coming from line 388 in the TFTPClient class of 3.6 version of the library:

if (recdPort == port) { // must not use the control port here

> Commons net 3.5 and 3.6 have different implementation for uploading files over TFTP
> -----------------------------------------------------------------------------------
>
>                 Key: NET-668
>                 URL: https://issues.apache.org/jira/browse/NET-668
>             Project: Commons Net
>          Issue Type: Wish
>          Components: TFTP
>    Affects Versions: 3.5, 3.6
>            Reporter: Ivan Puntev
>            Priority: Major
>
> I upload firmware to a device over TFTP and I use apache-commons-net 3.5. Everything
works fine with this version.
> I saw that in 3.6 there is a upload progress added and I decided to update the library
and add progress bar on the tool that I use but then the functionality broke. I checked and
found that the implementation of the sendFile() method has changed.
> Can someone tell me what needs to be done in this situation? I need upload progress.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message