You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ivan Puntev (JIRA)" <ji...@apache.org> on 2019/03/25 09:55:00 UTC
[jira] [Comment Edited] (NET-668) Commons net 3.5 and 3.6 have
different implementation for uploading files over TFTP
[ 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:54 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
was (Author: ip):
I think the issue is coming from line 388 in the TFTPClient class:
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)