Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simple torrent system in PHP?

I need to be able to manage some torrent downloads on my server with some good old php, basically i would upload the .torrent file, and would like the php script to download the torrent file(s) in the torrent, and zip them. and while its doing this, have a page that could output the progress and statistics... im not even sure where to start!

Summary

  1. Upload .torrent file
  2. Have php download the files in the torrent
  3. Have a method to keep track of the progress

Any help would be greatly appriciated :) thanks

like image 297
caesay Avatar asked Aug 26 '10 21:08

caesay


2 Answers

First of all, check out the answers on PHP Module for reading torrent files

Particularly Eran's answer, where he links to http://sourceforge.net/projects/torrentflux/. I've never used it, so I can't vouch for it or anything, but it looks like you could install it and get what you're asking for.

like image 61
livingtech Avatar answered Oct 20 '22 10:10

livingtech


Maybe you should not invent the wheel and use, for example, RTorrent as a backend and write a web interface for it as a frontend using php.

like image 40
angryobject Avatar answered Oct 20 '22 09:10

angryobject