PHP Classes

Web seeds

Recommend this page to a friend!

      Torrent RW  >  All threads  >  Web seeds  >  (Un) Subscribe thread alerts  
Subject:Web seeds
Summary:Torrent without a tracker
Messages:1
Author:Anton
Date:2010-11-17 19:12:40
 

  1. Web seeds   Reply   Report abuse  
Picture of Anton Anton - 2010-11-17 19:12:40
Hello.

I would like to create a torrent file from multiple http links without a tracker, it really viable?

I have a working torrent file is obtained with only one file, ie so works:
$array[] = ‘Z:\home\site.com\www\images\second.jpg’;
//Create a new torrent
$torrent = new Torrent( $array );
$torrent->url_list(array('http://site.com/images/first.jpg');
***
But so torrent is created, but downloading files if they are several, no longer goes:
$array[] = ‘Z:\home\site.com\www\images\first.jpg’;
$array[] = ‘Z:\home\site.com\www\images\second.jpg’;
//Create a new torrent
$torrent = new Torrent( $array );
$torrent->url_list(array('http://site.com/images/first.jpg','http://site.com/images/second.jpg’));