From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 13:50:51 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 6AB2F106564A for ; Fri, 27 Jun 2008 13:50:51 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 497CA8FC0A for ; Fri, 27 Jun 2008 13:50:51 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so443643wfg.7 for ; Fri, 27 Jun 2008 06:50:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=aZaVkA4UbtOxnXjtbXB0b8HoGMNsth9EtZK6Up61FSc=; b=rcRbc+ScXjM7K4xd6UtceXG/1i7YvYRy57EP5rzVDLvIN5/w2xs9Bv29NvrZxVPhQ3 /sIFy634hyab9iA/M4wdlR1+JvhzSxwn+uRGrNG+0oJofesuk/5M9KfiBZnJ6vfC8Ear fm/IPo8ho++Ct7AopsR+BpSoYuENRLM7b+73Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TdGw6VyrJvR+E71qHiElWb4PAI45+Fs8PHc1WLhrgZ6bw1n7AUTVQrl8QNjFJcwa+m 1bcjE6Hp/oKI+1sz8IEFu55+T3WkIq7hOEHTsupETGhxw2OaF2H6Tzc8Scg3ic4HYsdF IXaJLcFHaZvcCX7gw7k3vAdLQw2QrLKx/DBIk= Received: by 10.142.139.19 with SMTP id m19mr519355wfd.154.1214574649714; Fri, 27 Jun 2008 06:50:49 -0700 (PDT) Received: by 10.142.199.19 with HTTP; Fri, 27 Jun 2008 06:50:49 -0700 (PDT) Message-ID: <3a142e750806270650x338e7c49oaf2fab603fb636b@mail.gmail.com> Date: Fri, 27 Jun 2008 15:50:49 +0200 From: "Paul B. Mahol" To: "Kris Kennaway" In-Reply-To: <48642B77.90104@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <486422EF.3070501@FreeBSD.org> <4864239F.1050308@hexon.cx> <48642B77.90104@FreeBSD.org> Cc: FreeBSD Hackers , Jille Timmermans Subject: Re: 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: Fri, 27 Jun 2008 13:50:51 -0000 On 6/27/08, Kris Kennaway wrote: > Jille Timmermans wrote: >> (enhanced) ctorrent > > Seems to fail requirement a). Am I wrong? > > Kris > enhanced ctorrent is actual ctorrent from ports. it doesnt use ncurses. ldd /usr/local/bin/ctorrent /usr/local/bin/ctorrent: libssl.so.5 => /usr/lib/libssl.so.5 (0x280a7000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x280e8000) libm.so.5 => /lib/libm.so.5 (0x281db000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x281f4000) libc.so.7 => /lib/libc.so.7 (0x281ff000) libcrypto.so.5 => /lib/libcrypto.so.5 (0x28306000) transmission also doesnt use ncurses. the only one I'm aware of that use ncurses is rtorrent. >> >> Kris Kennaway schreef: >>> 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 >>> >>> _______________________________________________ >>> freebsd-hackers@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>> To unsubscribe, send any mail to >>> "freebsd-hackers-unsubscribe@freebsd.org" >> >> > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >