check conenction takes byte or not - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Homework (https://python-forum.io/forum-9.html) +--- Thread: check conenction takes byte or not (/thread-5994.html) |
check conenction takes byte or not - viens - Nov-01-2017 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. RE: check conenction takes byte or not - nilamo - Nov-01-2017 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() |