From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 23:14:56 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CF1610656B5 for ; Thu, 26 Jun 2008 23:14:56 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 074EB8FC2D for ; Thu, 26 Jun 2008 23:14:55 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <486422EF.3070501@FreeBSD.org> Date: Fri, 27 Jun 2008 01:14:55 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: FreeBSD Hackers Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: command-line bittorrent utility X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 23:14:56 -0000 I am looking for a command-line utility that can fetch via bittorrent that a) doesn't use curses. It must be usable in a script and without a tty! b) doesn't use X11. Must be a command-line utility! c) Must be able to inform the script when the transfer is complete. A callback mechanism of some kind is fine as long as it doesn't require polling. This is for distribution of files within a LAN and WAN: I have some large files that I need to distribute to many machines, and pushing them all out multiple times from the server is inefficient. Things that come close: * The python implementation, but it doesn't seem to work very reliably. I get errors and exceptions from both the client and server when transferring a file with only two machines participating. * http://www.murmeldjur.se/btpd/ is a daemon with command line client. It doesn't provide for c), and it also doesn't work reliably. * Not much else. Surely I am not the first person to want to use bittorrent in a script? Kris