Can't Set Download_Limit Via Api


somid3

Recommended Posts

On the linux version of BitTorrent Sync I can't update the download_limit.

 

wget http://127.0.0.1:8888/api?method=set_prefs&download_limit=1024

 

When I get all the prefs, the download_limit is still set to 0.

 

Any advice? Also, what are the units here, bytes?

 

Thanks,

 

Omid S.

 

-----


Oh I feel like an idiot. I didn't escape the & on bash with \&.

 

My last question still applies, I wanted to see what is the download limit unit on that preference.

 

Thanks,

 

Omid


-------

 

Nevermind, just tested it, for future reference its in Kb/s

 

Note, you should add to the documentation that download and upload are relative terms.

 

When peer A uploads to peer B, the upload_limit of peer A will be capped and the download_limit of peer B will also be capped. The lowest value between A's upload limit and B's download limit will be the final transfer rate, assuming their bandwidth is solid.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.