2
0
mirror of https://github.com/meganz/MEGAcmd synced 2025-09-05 00:05:07 +00:00

vitaminate speedlimit with support for setting max connections

This commit is contained in:
Pablo Martin
2025-03-20 10:05:51 +01:00
parent f359a9c31a
commit 1de28fca33
5 changed files with 105 additions and 32 deletions

View File

@@ -1,16 +1,18 @@
### speedlimit
Displays/modifies upload/download rate limits
Usage: `speedlimit [-u|-d] [-h] [NEWLIMIT]`
Usage: `speedlimit [-u|-d|--upload-connections|--download-connections] [-h] [NEWLIMIT]`
<pre>
NEWLIMIT establish the new limit in size per second (0 = no limit)
NEWLIMIT may include (B)ytes, (K)ilobytes, (M)egabytes, (G)igabytes & (T)erabytes.
Examples: "1m12k3B" "3M". If no units are given, bytes are assumed
Options:
-d Download speed limit
-u Upload speed limit
-h Human readable
-d Download speed limit
-u Upload speed limit
--upload-connections Max number of connections for an upload transfer
--download-connections Max number of connections for a download transfer
-h Human readable
Notice: this limit will be saved for the next time you execute MEGAcmd server. They will be removed if you logout.
Notice: these limits will be saved for the next time you execute MEGAcmd server. They will be removed if you logout.
</pre>