From owner-freebsd-questions@FreeBSD.ORG Tue May 23 23:38:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B63616A912 for ; Tue, 23 May 2006 23:38:42 +0000 (UTC) (envelope-from andrew.chace@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96E2643D48 for ; Tue, 23 May 2006 23:38:41 +0000 (GMT) (envelope-from andrew.chace@gmail.com) Received: by nz-out-0102.google.com with SMTP id l8so1345545nzf for ; Tue, 23 May 2006 16:38:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=CNedZNTbeC2SaBDzvwE9+SeKFbyACNoQPUqbFKfbeoPiab/BAQFZwRrj18tofkdgbdEJrYP2yySJQ2TqjScv/eg4f6IOdD/NTV/BqQQD3vQDTXbAexc0oTi5v/smpvW2swCf+rK2XIlwWaub/LdHJAf5P3/+SEBl3lc7CA4MOVw= Received: by 10.37.20.49 with SMTP id x49mr8640112nzi; Tue, 23 May 2006 16:38:40 -0700 (PDT) Received: from ?192.168.0.6? ( [70.56.10.145]) by mx.gmail.com with ESMTP id 7sm3643096nzo.2006.05.23.16.38.40; Tue, 23 May 2006 16:38:40 -0700 (PDT) From: Andrew To: Anish Mistry In-Reply-To: <200605231821.09820.amistry@am-productions.biz> References: <1148421577.2572.28.camel@LatitudeFC5.network> <200605231821.09820.amistry@am-productions.biz> Content-Type: text/plain Date: Tue, 23 May 2006 18:38:44 -0500 Message-Id: <1148427524.2572.38.camel@LatitudeFC5.network> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 (2.6.1-1.fc5.2) Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: standalone libraries for SFTP and SMB 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, 23 May 2006 23:38:44 -0000 On Tue, 2006-05-23 at 18:20 -0400, Anish Mistry wrote: > On Tuesday 23 May 2006 17:59, Andrew wrote: > > Hello, > > > > I'm writing a small application that saves files over a network. > > I'd like to add support for SFTP and SMB. Does anyone know of an > > independent library for each? > > > > I'd like to use libsmbclient from the Samba project, but I haven't > > found a simple way to build the library without installing all of > > Samba. > > > > OpenSSH includes an SFTP binary, of course, but I'd have to rewrite > > several complex makefiles to generate it without installing all of > > OpenSSH. > > > > Thought about using the libraries from Gnome-VFS, but they have > > quite a few dependencies, and are sort of overkill for this > > project. > > > > So yes, I have a couple of options, and yes I'm a little bit lazy. > > Why reinvent the wheel? ;-) > /usr/ports/security/libssh2 > thanks. I'll check it out... -Andrew