I know that using code <a href="mailto:john.smith@gmail.com">John Smith</a> I can call email clients to send emails to who I want.
Now, how can I call torrent client softwares to download a torrent?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Technically, you are not calling an email client when a user clicks on such a link. Instead, the client launches the application registered for handling that type of URI. The technical name for the
mailtopart of the URI is the scheme.What you actually want is the Magnet URI Scheme.
To generate a BitTorrent magnet URI, you need to extract the
infosection of the bencoded .torrent file contents, as described in the BitTorrent protocol specification. Generate the SHA-1 hash of the data (this is called the “infohash”), then hex-encode that hash. You can also include atrparameter to declare where the tracker is. e.g.For further reading, I would suggest How do BitTorrent magnet links work?.