Basically it is a web page that lets you generate and directly upload the torrent metafile.
Currently the upload puts the generated metafile on mininova, but you can link the web page with different parameters in order to post the metafile to other servers: soon there will be an option to use the upload with fenopy, for instance.
How to use it
The user should go to
to generate the .torrent metafile, that will be directly posted to the postUrl address and then the user will be asked to go to doneUrl.
After the user clicks the create button and chooses the file or directory, the applet generates the metafile and posts it (to postUrl) directly from the browser.
The post is a simple http post with
Content-Type: multipart/form-dataand it contains a single parameter named torrent with the torrent metafile in binary form, I guess if you're using php you can just access
$_FILES['torrent']. The applet expects a
text/plainresponse with the hash of the info dictionary of the posted metafile in ASCII (e.g:
Then the user will be asked to go to doneUrl with the hash parameter (
doneUrl?hash=d901895bc378d0b6ffcb87a4f9503bf51664d475) where the user should complete the file submission.
Should you provide a download with BitLet after the torrent submission, the applet will try to guess the correct path to start seeding the file.
Please ask the user to start seeding the files, after the submission is completed.
Usually I'm quite cryptic when I write, so don't hesitate to contact me if there's something I didn't explain well.