You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use it to send multiples files (using wildcard 'folder/*.png') between a RaspberryPi and my phone, everything is going well but I noticed that the progress value doesn't handle the multiple files cases and I had to change a bit the package code to :
long newPerc = this.count;// * 100 / max;
(line 629)
Otherwise, it will show a percent compared to the first file, so after the first one is sent, value goes over 100%...
So now I can pass the max value (total size of the folder obtained from sftpLs) and the progress makes more sense to me...
The best for me would be the "max" value not displayed so I can make the division and return a %...
The text was updated successfully, but these errors were encountered:
Hello and thank you for this usefull package !
I use it to send multiples files (using wildcard 'folder/*.png') between a RaspberryPi and my phone, everything is going well but I noticed that the progress value doesn't handle the multiple files cases and I had to change a bit the package code to :
long newPerc = this.count;// * 100 / max;
(line 629)
Otherwise, it will show a percent compared to the first file, so after the first one is sent, value goes over 100%...
So now I can pass the max value (total size of the folder obtained from sftpLs) and the progress makes more sense to me...
The best for me would be the "max" value not displayed so I can make the division and return a %...
The text was updated successfully, but these errors were encountered: