How to disable upload on BitTorrent
If you often use a BitTorrent client for legal purposes, but wish to disable upload (to save on bandwidth), this guide will teach you how to disable upload on BitTornado, the popular BitTorrent client.
Since BitTornado is written in Python, an interpreted programming language, no compiling is necessary to modify this program, making it one of the easiest BitTorrent clients to disable uploads on.
- Visit the BitTornado site, click on Download, and download either the experimental or the stable version of the BitTorrent client installer and install it. Do not start BitTornado.
- Download the matching .zip Source Package on the same download page and save it to a directory where you will remember.
- Extract the .zip archive and in Windows Explorer navigate to the BitTornado-CVS\BitTornado directory.
- In Windows Explorer, right click on ConnChoice.py and select Open with..., and use Notepad to open this file (Uncheck the "Always use the selected program to open this kind of file" to prevent meta information changes).
- Modify all of the lines that begin with 'conn', by changing the value next to 'min' to 0 (zero). For example, change the following line:
'conn':{'min':4, 'max':100, 'def': 4}},To read:
'conn':{'min':0, 'max':100, 'def': 4}}, - In Notepad, click on File -> Save to save your changes and close Notepad.
- In Windows Explorer, right click on ConnChoice.py and select Cut.
- In Windows Explorer Navigate to C:\Program Files\BitTornado\library.zip\BitTornado
- In Windows Explorer, right click in the above directory and select Paste.
- In Windows Explorer, right click on ConnChoice.pyc and select Delete to delete the .pyc (compiled Python) version of Uploader and leave the .py (uncompiled Python) version behind.
- In Windows Explorer navigate to the BitTornado-CVS\BitTornado\BT1 directory where you unarchived the .zip file.
- In Windows Explorer, right click on Uploader.py and select Open with..., and use Notepad to open this file (Uncheck the "Always use the selected program to open this kind of file" to prevent meta information changes).
- Modify the following line:
if not self.choked and self.connection.next_upload is None:
To read:
if not self.choked and self.connection.next_upload is None and self.config['max_uploads'] > 0:
- In Notepad, click on File -> Save to save your changes and close Notepad.
- In Windows Explorer, right click on Uploader.py and select Cut.
- In Windows Explorer Navigate to C:\Program Files\BitTornado\library.zip\BitTornado\BT1
- In Windows Explorer, right click in the above directory and select Paste.
- In Windows Explorer, right click on Uploader.pyc and select Delete to delete the .pyc (compiled Python) version of Uploader and leave the .py (uncompiled Python) version behind.
You can now start BitTornado and when selecting zero for the "Max uploads", instead of the zero setting meaning unlimited, it will actually be set to zero.
Note: When you disable upload in a BitTorrent client, you're going against the whole philosophy of BitTorrent, and this will negatively affect your download speeds in most situations.
My name is Mark Adams. I was an intelligence officer with the U.S. Department of Defense and studied communications and journalism in school. I'm currently applying my skills and experience in information technology and business in the civilian world. I have over 15 years of experience with IT security, Linux/UNIX, communication, marketing, and business development. This is my personal blog.