You can send the torrent to the people receiving the zip file. Then the torrent file is created in $HOME. The script copies the file to the downloads directory (make sure that the file you are sending has enough permissions to be read by debian-trasmission user). You can call this script as below: ~/bin/seed_file.sh file_I_want_to_send.zip It’s the directory where Transmission downloads files to. $TRANSDIR/downloads should be the directory you noted at step 2. Transmission-remote -add $HOME/$1.torrent Transmission-create $TRANSDIR/downloads/$1 -t udp://:80 -o $HOME/$1.torrent It will automate the process of seeding torrents in the future. Create a bash script file with the output of the cat command below. You can use this command later to see what the service is transferring.ģ. You don’t have any at this stage so the table should be empty (see “transmission-remote –help” for the description of -l and other commands). It will print a table listing your active torrents. To verify that you have done everything correctly invoke this command: transmission-remote -l Start the service again: sudo service transmission-daemon start This is what I have: "download-dir": "/var/lib/transmission-daemon/downloads" While your are still in the text editor, note the location of the Transmission downloads directory. You may consider changing them later if you want to use the web interface. Now you can control Transmission from the same machine and nowhere else. These settings are also very strict but they are enough for our task.
sudo vi /var/lib/transmission-daemon/info/settings.jsonįind rpc-whitelist and rpc-whitelist-enabled. info is the directory where settings.json is read from. “ps -Af | grep trans” outputs “/usr/bin/transmission-daemon –config-dir /var/lib/transmission-daemon/info”. If it’s not there, start the service and look at the parameters. The Transmission settings file in my environment is located under /var/lib/transmission-daemon/info/settings.json. Stop the service with the following command: sudo service transmission-daemon stop Issuing “transmission-remote -l” results in a permission error. It’s not possible to control it even from the command line. Configure Transmission to be able to control it from the command line.Īfter the service is installed the security settings are too strict. The command will install and start the Transmission service.Ģ. We are going to use transmission-remote (see below). The service is a headless torrent client that can be controlled through command line, web interface or possibly another GUI front end.
SSH to your server and install transmission-daemon if you don’t have it already. I think I simplified that solution and made mine more inline with the Transmission default configuration.ġ. You won’t need to create and configure a watch directory and copy your torrent files into it. There was a solution that was very helpful for me to create this manual. Any compatible torrent client and OS can be used by the receiver. The environment is Ubuntu server 12.04 and the torrent client is Transmission 2.51.
Did you ever need to send somebody large files? This manual provides steps to create new torrents and seed files.