From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.user Subject: Re: ftp uploading files Date: Thu, 30 Oct 2014 12:59:18 +0000 (UTC) Message-ID: <496459097.278471.1414673958016.JavaMail.yahoo@jws10033.mail.ne1.yahoo.com> References: <5452135A.2090701@konradmakowski.pl> Reply-To: Mike Gran NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1414781255 22147 80.91.229.3 (31 Oct 2014 18:47:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2014 18:47:35 +0000 (UTC) Cc: "guile-user@gnu.org" To: Konrad Makowski Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Oct 31 19:47:28 2014 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XkHEN-0008AD-OG for guile-user@m.gmane.org; Fri, 31 Oct 2014 19:47:27 +0100 Original-Received: from localhost ([::1]:41102 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkHEN-0000GN-BK for guile-user@m.gmane.org; Fri, 31 Oct 2014 14:47:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkEQk-0004da-P6 for guile-user@gnu.org; Fri, 31 Oct 2014 11:49:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjpMr-0001Vr-7k for guile-user@gnu.org; Thu, 30 Oct 2014 09:02:29 -0400 Original-Received: from nm37-vm8.bullet.mail.ne1.yahoo.com ([98.138.229.136]:48964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjpMr-0001Vi-1V for guile-user@gnu.org; Thu, 30 Oct 2014 09:02:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1414674140; bh=tzV9Yl5BiBFdkLzVCtkUyiuGCLwiyuUigigV+xsarao=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=akU45iQYG8yLeOMpZKIqAh4Rcrj5tdE5bI/QmJj4bQ/vsFnMxbVZi4cHhyjLhtZbf9+CN6A4weN2iOydeA5ClMCKSm8lg0M4M/sfay7hm84MiPwyYX/igfeHarffOgK+zOjyt2x5v8+PWr+KidrNgyGAQ9k3udyvb06fHZVqnR3W8qQIbnDpm++SVPelDMg5sUSktjEXWFklJS+qL7OAsH8FpmDsR/4s53GcFi5Lo0fdo0sAwHzKdepHYAHOpE151/U8+qvGF/luqUhCYcuZ5cQDpzpiZ/BQTiTUj31LOM6Csn/hkUhJqriFORnB2hlwljQfDj1dixtu5WAKInJuJg== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=a235ca1EDgtcvT7krqSITpVFidInb4Mthi/2MK5u8aADWZdMJ5WiTdmWuZmTIsOo+dF97YCMRzJ5E95POUaBYv7j2KShCzzWPTkJ01/HwzK1NbhSVWzPQyBnZby8L38HF9GraxheuDC0CJl8tQEKUJLd0HIUPxS1+156pvlJhTyqcctap6Vqrc5uH8APoTWPrhZ3vBmyU1CQqqTerQZ9pTopH0lTEwueFq2PcFUglc9AhzSAli/W2BlFGGG0mM9WiihIi3JpS9lPtFesGSQR7+yDuskF8fDbri+5r4i4wGVJRO/FFkQrE+CE0jGpZ6qXLrm3lkWnIHT2mk12QA8sCw==; Original-Received: from [127.0.0.1] by nm37.bullet.mail.ne1.yahoo.com with NNFMP; 30 Oct 2014 13:02:20 -0000 Original-Received: from [98.138.101.129] by nm37.bullet.mail.ne1.yahoo.com with NNFMP; 30 Oct 2014 12:59:19 -0000 Original-Received: from [98.138.87.2] by tm17.bullet.mail.ne1.yahoo.com with NNFMP; 30 Oct 2014 12:59:19 -0000 Original-Received: from [127.0.0.1] by omp1002.mail.ne1.yahoo.com with NNFMP; 30 Oct 2014 12:59:19 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 183236.11435.bm@omp1002.mail.ne1.yahoo.com X-YMail-OSG: MLNooNAVM1kKT8IlCto9FOrhqjE5Mm8GITOJpJ08JQWsLKJ6jq7kz70Xie.stBq BNB_SQF7FUJmX8_M07rfyocztGH5.5p_vFCeyJ_GGE68UrDgMPxmBARVYW7mo8_AfjBoX8zqvjpu NCnsil3qtc8ptRg3.yUxSBuyBPvBAs1jW0hRM9rJDNmLyWmYPWsqgeftLyZM3iercLNBfD1vlOoc hnwjr8kl0aQkdeDgj.Hr8gH9ydItaircYq7YxZfK0jTfOp7T8zd71KTqSok_dfHPM8fE_10.NSP6 rcJrsrZ1m3ljzuIrxccuALA0SsygIldwGIxSw69siWdpoy8vWG3HVXIFdjCNqFX_fcjSpbdAmv4E PvQEHCGpxH9tGFWVfeR5J0nYVyPTZ_QXsQqOKPmkz7jULx73iuHmqiS7E9c8xZw6E7lY7Us5A2lX PttauGSxyAC3TR2H8lWQFPBWi0_IGPBB50LphO.x5x6x8G1SQuRNnQnk7_ZzjtXkcBNHOfivrZCno Original-Received: by 98.138.101.170; Thu, 30 Oct 2014 12:59:18 +0000 In-Reply-To: <5452135A.2090701@konradmakowski.pl> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 98.138.229.136 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11611 Archived-At: I've never actually tried it, and I don't have any access to a box where I can try it right now. You'd probably need to use the git release, which has the 'readdata' option which isn't in the last official release. And then you'd probably do something like this. (define handle (curl-easy-init)) (curl-easy-setopt 'url "ftp://hostname") (curl-easy-setopt 'username "username") (curl-easy-setopt 'password "password") (curl-easy-setopt 'readdata (open-file-port "filename")) (curl-easy-perform handle) >