[jira] [Commented] (NET-668) Commons net 3.5 and 3.6 have different implementation for uploading files over TFTP

2019-05-10 Thread Ivan Puntev (JIRA)


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

Ivan Puntev commented on NET-668:
-

[~s...@apache.org] So, I was using the 3.5 version and everything was working 
fine but when i decided to update to 3.6 it stopped working, even without 
adding the progress.
Just changing the dependency in the pom.xml broke it. In my comment above I've 
added my suspicions what may be the cause.

> 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)


[jira] [Commented] (NET-668) Commons net 3.5 and 3.6 have different implementation for uploading files over TFTP

2019-05-04 Thread Sebb (JIRA)


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

Sebb commented on NET-668:
--

In what way is the functionality broken?

It's not clear if the break occurred before or after adding the upload progress 
bar to the tool.

> 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)


[jira] [Commented] (NET-668) Commons net 3.5 and 3.6 have different implementation for uploading files over TFTP

2019-03-25 Thread Ivan Puntev (JIRA)


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

Ivan Puntev commented on NET-668:
-

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)


[jira] [Commented] (NET-668) Commons net 3.5 and 3.6 have different implementation for uploading files over TFTP

2019-03-25 Thread Ivan Puntev (JIRA)


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

Ivan Puntev commented on NET-668:
-

Maybe this is not a bug because many people say 3.6 works for them. I just 
checked the source code and found big diffrence between the two implementations 
of the method.

> 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)


[jira] [Commented] (NET-668) Commons net 3.5 and 3.6 have different implementation for uploading files over TFTP

2019-03-25 Thread Bernd Eckenfels (JIRA)


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

Bernd Eckenfels commented on NET-668:
-

In order for someone to fix the bug we should know what is broken. Do you maybe 
have traces you can compare?

> 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)