Well, the title might be a bit misleading: the torrent file isn't downloaded to the iPhone itself, but rather on your computer. I really don't know how to explain it, so I'm going to use the good 'ol copy and paste function.
"My solution was to use Javascript to alter the torrent link to send its URL to my server for download rather than trying to open it. A PHP script on the server could then download that URL to the torrents folder. With both scripts in place, and the permissions of the torrents folder modified to allow Apache to write files, all I have to do is run the Javascript as a bookmarklet before clicking the torrent link, and click the link to download the torrent file. The modified link will pass this URL to the script to download it on the server."
And it works too!
Recommended Comments