S
S
SimBioT192015-08-16 15:37:03
PHP
SimBioT19, 2015-08-16 15:37:03

How to download generated files?

  • I'm using https://github.com/tcz/PHPTracker ( http://php-tracker.org), I've set everything up, the daemon is working, but I can't figure out how to download the generated torrent files to other people?
    When I go to site.com/example_torrent_creator.php I get a torrent file created from a regular image on the server; after that , its info_hash and so on are written to the database (using example_announce.php ), but then a reasonable question arises - what's next? On the server, I have nothing left, only in the database. How can other people download my file?
    Although it seems to me that such a function is not provided in PHPTracker .
  • In general, I need the following - a person uploads a .torrent file to the server, I get its info hash, etc., and then a link to download this file is displayed to me (the user). How can this be implemented?
    And explain what these announce.php are for ? As I understand it, they "look" for information about the torrent, but is it possible to make a person upload a file to my server, and then announce and find out everything that is needed.
    I will be very grateful.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question