Can I create a .torrent file that will download files from an webhost ftp?

3

I have a webhost that lets me have ftp accounts for large file transfers. I can use vuze in OS X to create a torrent fine...but I don't know how (or with the more research I do if it's possible) to tell the torrent to download those files from the ftp.

Should I not use an FTP? I want it to be secure so people can't break into my webhost account but I don't want the torrent to be passworded yea?

Where do I start?


ok, so its clear I had no idea what I was talking about.

So how do I setup a bittorrent client to seed on my webhost? my userCP doesn't have anything about setting bittorrent and the live chat guy I talked to didn't know either. There's all these PHP and SQL options... does any of that work?

Is there any way to do this without having to host the files on one of my computers in my house?

[side note] - this got moved to superuser.com from stackoverflow.com - now I have a different account/name. Can I migrate or combine the two?

bobsbarricades

Posted 2011-08-04T14:16:59.373

Reputation: 48

Huh? What do you think BitTorrent has to do with FTP? – SLaks – 2011-08-04T14:20:22.973

You would have to install a torrent client on your server. – cularis – 2011-08-04T14:22:19.883

1Oooh! ooh! I know! Create a torrent for a text file that has a link to your ftp webhost! ;) – chandsie – 2011-08-04T15:00:43.093

You need to register a SuperUser account with the same Gmail OpenID as your SO account. – SLaks – 2011-08-04T16:02:57.927

thanks for the tip SLaks I think they're joined now...sort of.

so since I have this ftp/torrent all wrong where do I host the files if I don't want to host them in my house?

Thank you guys for all the help and clarification, I had no idea how ignorant I was on this =/ – bobsbarricades – 2011-08-04T17:33:08.627

Answers

2

Many BitTorrent clients support adding "web seed" URLs, which allow the initial downloading to be done from a http:// address (until enough peers have the complete file).

You say "my webhost", so you could just publish your file over HTTP – with a .torrent file pointing to it, if you want. However, web seeds are limited to HTTP only – certainly not password-protected FTP.

user1686

Posted 2011-08-04T14:16:59.373

Reputation: 283 655

ok, so then when I setup my .torrent in azure I can just point it to the url of the file? But then isn't that the same as just...well a direct download? – bobsbarricades – 2011-08-06T13:36:29.393

@bobsbarricades: It is the same in the beginning. But when enough peers have 100% of the file, further downloads will instead transfer data from those peers -- becoming a standard BitTorrent download. – user1686 – 2011-08-06T14:21:34.117

@bobsbarricades: FYI, you just answered your initial question too. You asked "Can I create a .torrent file that will download files from an webhost ftp?", and the answer is "yes, you can" -- but as you noticed yourself, it would (initially) be the same as a direct download and would not have any of the advantages of BitTorrent protocol. With "web seeds", BitTorrent will start working, but only after the file is downloaded by enough users. – user1686 – 2011-08-06T14:33:01.000

So I've uploaded the .zip I want to share, but vuze will only make a .torrent using a local file on my HDD. Is there a program that will look to the URL I have online? it's a basic clickable html link. – bobsbarricades – 2011-08-06T21:49:58.270

@bobsbarricades: µTorrent can create such .torrents ... but what do you mean by "a basic clickable html link"?

– user1686 – 2011-08-06T23:41:10.143

@gawity - thanks for that! I wish I was in windows so I could do it lickity split with uTorrent. Transmission (OS X) is supposed to be able to but...having trouble finding out HOW =/ – bobsbarricades – 2011-08-07T00:23:00.373

1

If you're thinking that using a .torrent will speed up the file transfer, you are incorrect.

Even if you can download a torrent file from your host, you will not get any better speed than you would with FTP.

Torrent's great feature is that you can download small parts of a file from many different hosts. Each file doesn't have to download very quickly to add up to decently fast transfer speeds on your end. A lot of 10kbps and 20kbps chucks add up to pretty fast speeds for you.

But with a single host you're limited to the upload speed of that single host.

So even if it is a technical possibility, you'll gain nothing by downloading a file this way.

UPDATE:

Oh, and most hosts don't like torrents. They tend to use a lot of CPU and it may be difficult to convince them you aren't hosting illicit files.

music2myear

Posted 2011-08-04T14:16:59.373

Reputation: 34 957

it's not really about that. It's just that people often search through torrent sites for free music. I want to spread my music around and hoepfully a dozen or so people will grab it and give it a listen. Maybe even scrobble it on last.fm ya know? I realize it's superfluous – bobsbarricades – 2011-08-07T00:07:10.883

If it's your own music, there are no legal issues. However, the problem still stands that most web hosts do not like torrent files on their servers, regardless of the legality or illegality of the files. You'll want to make sure there are no penalties for hosting torrents before loading them on your server. I assume you know you can host torrents from your own machine? You'll want to secure your system pretty well before doing so, but hosting a torrent yourself is a feature included in most torrent clients. – music2myear – 2011-08-08T14:06:25.607

0

Bittorrent has nothing to do with FTP. What you are trying to do does not make sense. If you have FTP acces, then you just upload and download the files using FTP.

Johan

Posted 2011-08-04T14:16:59.373

Reputation: 1 076

0

Torrents and ftp are separate things.

If you want to transfer a file by either you need to be running a program on both client and server that understands the same protocol ie either BitTorrent or FTP.

For BitTorrent you create the .torrent file in Vize as you suggest but the actual file to be transferred must be on a server running a bittorent program e.g. Vuze which can sendthe data to other clients.

If you want to ftp the data set up the server as you have done and then give the address of the ftp server and path to the file to the people who download it e.g. ftp://host/path/to/file . the ftp server can be setup so that it cannot be written to and so people can't brak into the account.

Also as you say webhost then you could also allow users to get the file via http

user151019

Posted 2011-08-04T14:16:59.373

Reputation: 5 312

-1

I don't think this is possible, but I might be wrong. The way it works in my belief is you can only use torrents using torrent-trackers, who have their own protocol.

You might be able to set up a torrent tracker on your website but I dont think you can 'link' a torrent to a ftp server

Johan

Posted 2011-08-04T14:16:59.373

Reputation:

Public trackers, as well as trackerless BitTorrent, have been around for quite a while. See DHT, for example. – user1686 – 2011-08-04T15:22:19.813