Bottom Page

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.
Quote
#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()
Quote

Top Page

Forum Jump:


Users browsing this thread: 1 Guest(s)