Python Forum
check conenction takes byte or not
Thread Rating:
  • 4 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
check conenction takes byte or not
#1
I have one ubuntu and one asus router. I can get the byte amount of the router port via ifHCInOctets via snmp on Ubuntu. When I write the ifHCInOctets to ptyhon I can get the byte amount again
I want to read the byte amount when the asus download master program starts on the router and read the byte count when the download finishes. http://router.asus.com:8081/Main_Login.asp. I am curious about this I can do this with python and how.
Reply
#2
So you can already get the byte count?  Then... I'm confused.  Just do it twice?
start_count = get_byte_count()
download_file()
end_count = get_byte_count()
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020