Python Forum

Full Version: check conenction takes byte or not
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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()