TeamTreehouse - Java Basics 8 torrent download locations monova.org Java Basics Other 2 days idope.se TeamTreehouse - Java Basics Other 3 months seedpeer.eu Java Basics Other Misc 2 days torrentdownloads.me TeamTreehouse - Java Basics Other 2 hours limetorrents.cc Java-Basics Other 20 hours bittorrent.am TeamTreehouse - Java Basics Movies 6 days. [TeamTreeHouse] Unit Testing in Java torrent download - ExtraTorrent.ag [TeamTreeHouse] Unit Testing in Java torrent - Tutorials torrents - Other torrents - ExtraTorrent.ag The World's Largest BitTorrent System.
I'm trying to download a .torrent file in Java. I referred to this SO ( Java .torrent file download ) question but when I run the program it does not start the download. It does absolutely nothing. Can someone explain to me what I'm doing wrong. I posted an SSCCE below. Thanks in advanced.
1 Answer
You didn't format the file path correct. This part of the code is your problem:
Change it to this:
EDIT:
If that does not work, you should try fixing your file path. Are you sure it's not something like C:UsersBobDocuments
?
Once you have your file path fixed and the torrent file is downloading correctly, if your torrent program throws an error when loading the torrent, it's likely because the .torrent file is in GZIP format. To fix that, just follow the solution posted on the question you linked to: