-2

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.

Ala
  • 107
  • 11

1 Answers1

2

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)

the8472
  • 40,999
  • 5
  • 70
  • 122