Downloading .torrent with wget


Recommended Posts

Hi there, I am having trouble downloading a .torrent on my Linux box with wget, I'm using wget 'http://www.urlhere.torrent' to attempt to download the .torrent to my server but its not working, it only downloads part of the name, not the actual .torrent itself.

Can someone please help me? My head is aching... I've been trying to figure this out all day now :(

Cheers

Link to comment
Share on other sites

try to use double quotes?

wget "torrenturl.torrent"

otherwise i don't know what the problem would be

Tried that and it only saves part of it, heres what I get:

download.php?id=<user id here>&name=<torrent name here>.torrent

instead of:

http://www.websitehere.com/download.php?id=<user id here>&name=<torrent name here>.torrent

I have to add, it works fine on another one of my torrent sites, just not this one. I've tried adding the direct link to the torrent in rtorrent, but that still only downloads part of the URL.

Any ideas?

Link to comment
Share on other sites

You need to "follow" the link, try:

wget -A=.torrent -np -r -L -l 2 INSERT_URL_HERE

*sleepy drowsy stare* I wonder if that went right.

Link to comment
Share on other sites

You need to "follow" the link, try:

wget -A=.torrent -np -r -L -l 2 INSERT_URL_HERE

*sleepy drowsy stare* I wonder if that went right.

That just downloads the main url, e.g. www.sitehere.com

Link to comment
Share on other sites

I wasn't aware wget handled torrents but why not get an actual torrent client?

its a remote server, and I'm trying to get it to work in rtorrent, rtorrent treats the .torrent URL the same as wget is treating it.

Link to comment
Share on other sites

That just downloads the main url, e.g. www.sitehere.com

Can you PM me the URL to the file you wish to download? I assume it's a "do not post in public" kind of thing so.. pM :)

Link to comment
Share on other sites

Yeah i had to resort to running an ftpd and uploading it that way, apparently the website I was having problems with generates a random code when u try and download a .torrent.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.