Jump to content

Auto-download from phpBB attachement RSS feed


ungovernable

Recommended Posts

I have built a DIY torrent system on my phpBB forum. Basically, the users will just upload the .torrent files as attachements in phpBB

Then i have built a custom RSS feed so i can auto-download the .torrent from phpBB attachements and seed them.

My problem is that each time i try to download a torrent from my feed, i get a weird error saying "torrent not valid bencoding"

I can confirm that the torrent files are correctly encoded. If i open the .torrent file from my computer, it will work. But if i try to download it from the feeds, i get an error

I suspect because the download links looks like this :

http://www.anarcho-punk.net/download/file.php?id=2

The links aren't ending with ".torrent" but if you visit the URL with your browser it will indeed download a .torrent file

My other option would be to get the uploaded files straight from the upload folder of phpBB, but phpBB doesn't keep original filenames so my download links would look like that :

http://www.anarcho-punk.net/files/64_2c46924f9ffd648f020791162dc4f2d3

What can I do ? I really need to get it working.

Thanks for help

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...