Is there a way to limit only the download bandwidth on 1 torrent with Vuze

89 Views Asked by At

I'm using Vuze's (formerly known as Azureus) API to create a simulate a few BitTorrent scenarios.

Here is the API documentation : JavaDoc I'm running multiple downloads, however I can't find a way to stop a download from downloading a file, while continuing to upload to other peers. the Pause() method in the DownloadManager class seems to pause even the upload.

Any help would be much appreciated.

1

There are 1 best solutions below

0
On

The best way is to drill down from the UI. The per-torrent options can be found in org.gudy.azureus2.ui.swt.views.TorrentOptionsView, there is a MAX_DOWNLOAD static field, with a little help from the IDE of your choice you can follow the reference chain to org.gudy.azureus2.core3.download.DownloadManagerStats.setUploadRateLimitBytesPerSecond(int)