From owner-freebsd-questions@FreeBSD.ORG Tue Jun 30 20:25:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9C0F1065674 for ; Tue, 30 Jun 2009 20:25:19 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id 67B568FC21 for ; Tue, 30 Jun 2009 20:25:19 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: by ewy9 with SMTP id 9so499843ewy.43 for ; Tue, 30 Jun 2009 13:25:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=FSz5va3+AOMyIMTsqgZAGHvtQNGruPjmfd4q241GBnI=; b=jbauNPC8LTLlpLpo84ViRMtEcHXWxnPEjRxseH5TbidGqbiWewilghJ4DEqyFO8TxI kBMCgOuVQ4Tkyu4MYwpuN7m665PUcUc5pI5OZUsvKqbs7JAmZSUybsBXFZlMHNxPhDlQ W3MXDDxyC7yIVVsAHO4TABoCS2lYMKvYIdpZ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Du13ilA2Eyadoqp61VdzXasrYU+/qzwUWyC+3KK0CpV2T681o1UI5L0K7qFV2R3O8g Mw0fWLLSBjXRPK73dqichv96xB+I0fGyITZjemyixjRlIepUx4AwkahQbITEwh85iML5 WZQ+YFn5Fyj/itH/DVMtJ833YA2UrkhzuZOYA= MIME-Version: 1.0 Received: by 10.216.28.85 with SMTP id f63mr2517041wea.142.1246393518151; Tue, 30 Jun 2009 13:25:18 -0700 (PDT) In-Reply-To: <26face530906281331q50afe3dela4886e2120104b74@mail.gmail.com> References: <26face530906281331q50afe3dela4886e2120104b74@mail.gmail.com> Date: Tue, 30 Jun 2009 16:25:17 -0400 Message-ID: <54db43990906301325g63fe3f96t3ba188767fc1c7d0@mail.gmail.com> From: Bob Johnson To: Kelly Jones Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Using ctorrent or other program to seed a torrent X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 20:25:20 -0000 On 6/28/09, Kelly Jones wrote: > I know how to use ctorrent to create a torrent file, but how do I > actually seed the resulting file so that others can get it, and how do > I 'register' myself w/ a tracker so that others will know what IP > address to connect to, etc? I haven't done it in a while, but after you create the .torrent file, you upload the .torrent file to the tracker. That's basically all the "registration" you need to do. The .torrent file contains the information other clients need to download the file. You then start seeding the file with your client, which connects to the tracker and advertises the availability of the file. To seed the file, you basically just do exactly what you would do if you were trying to download the torrent, using the -E or -e option to specify how long you want to seed after the download completes. You should run ctorrent in the directory where you created the torrent (or at least in a directory with a copy of the file and the .torrent file), so it will already have the "downloaded" file. Seeding will begin as soon as it gets itself organized. I THINK that -e 0 will cause it to seed forever, but if not, -e 9999 will give you more than a year. I used to use -e 999, which is a little over 41 days. If you want it to get out of your way and hide in the background, run it as a daemon, e.g.: ctorrent -d -e 9999 nameoffile.torrent > > Can ctorrent seed torrents, or do I need another program for that? Yes, ctorrent automatically seeds for 72 hours after it finishes the download, and you can adjust that. -- Bob Johnson fbsdlists@gmail.com