And they would not help at all in your specific example of blocking a download of a file larger than 10 MB. You are better off looking for a client-side solution. You could get a Download Manager for your laptop and tell it not to download if the laptop is currently on your phone's network connection.
Or maybe there's a plugin for your browser that does something similar. When data is enabled, you will see an option to limit your data. Once ticked, two markers labeled 'Limit' and 'Warning' will appear. You can drag them up and down to set their values.
Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. How to limit data download when tethering Ask Question. Asked 7 years, 6 months ago.
Active 3 years, 9 months ago. Viewed 4k times. Improve this question. Windows 8. Sorry, I couldn't locate such an option as you specified. It's ugly and it's in french, but it should be at the same place : imgur. Shywim, thank you for the detailed explanation. When I use USB tethering, the connection type is ethernet. The "set as metered connection" is not available for my internet connection. Upon searching, here is what I found at the Microsoft website: Ethernet network connections can't be set to metered.
Add a comment. Active Oldest Votes. In any case, there is no Android-specific way to handle your specific issue. Improve this answer. Stephen Schrauger Stephen Schrauger 5, 6 6 gold badges 41 41 silver badges 59 59 bronze badges.
Your answer is useful, which is why I opted for re-opening of the question. I was considering something like 3g watchdog to limit data usage. Most solutions in mind, involve rate limiting download speeds on target computer. Asked 8 years ago. Active 8 years ago. Viewed 3k times. The test result is as below no thread sleep Add a comment. Active Oldest Votes. Slowing the download speed is quite simple.
Matthew Franglen Matthew Franglen 4, 21 21 silver badges 29 29 bronze badges. While this has the limit that, it needs sleep for a relatively bigger value for lower download speed. If the values is several seconds, this may seems the download stops to the user for a long time. I think the perfect thing is to download in a low speed non-stop, but i dont know how to.. Download a smaller amount instead of sleeping for a longer time. There is a caveat to this: because the OS buffers incoming data, until the buffer is filled up, it'll be downloading at max speed.
This is not much of an issue for long running downloads e. If you were using Socket class yourself, you could give a hint to the OS to use a small receive buffer using setReceiveBufferSize as to avoid this issue.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Who owns this outage? Building intelligent escalation chains for modern SRE. Podcast Who is building clouds for the independent developer?
0コメント