Score:0

Transmission-cli is leaving .part files

kh flag

I recently developed a PHP script to automatically download torrents with transmission-cli, i did consider using deluge-console but that did not support download locations (-w), the problem is: Whenever i download a torrent, multiple .part files get saved instead of normal files, for example, if a torrent file contains a.txt b.ini c.bin files, the client downloads a.txt b.ini.part c.bin.part, and it seems like the download does not finish. If someone has any answers or any alternatives to transmission-cli, it would help A LOT. Thanks! You can see a picture of the problem here: https://i.stack.imgur.com/VDm4d.png

in flag
Silly question, but are you certain that those Shin Megami Tensei OST files have finished downloading? Are there a sufficient number of seeds to allow the completion of those files? Based solely on the information provided, this does not seem to be a problem beyond “slower than desired Torrent completion times”
Xarber avatar
kh flag
@matigo i actually think so, that's if the cli command stays open until the download finishes: the client I've made automatically deletes source files after the command exits (i did this for zip files and used it with torrents too). Is there any way to check what's the status from another shell instance? Cause, the .torrent file got deleted so i think the download ended
waltinator avatar
it flag
The `*.part` files are portions of the download that get downloaded as bandwidth permits. When all the `.part` files are downloaded, `transmission` knits them together to produce the downloaded file, and deletes the `.part` files. The existence of `.part` files implies the downloads are incomplete, or that `transmission` has died early.
Xarber avatar
kh flag
@waltinator to download the files I'm trying to execute the command in the background by using `( transmission-cli ./dir/file.torrent -w ./dir/ ;rm -f ./dir/ ) > /dev/null 2>&1 & echo $!`. This basically executes the transmission command, awaits it to exit and then executes the rm command to delete the .torrent file, everything in the background so I don't slow down php execution
Score:0
kh flag

Solved by creating the .config/transmission subdirectories inside of /var/www/ which is www-data's home directory.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.