From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user Subject: Re: Uploading Word documents, PDFs, PNG files etc Date: Tue, 12 May 2009 05:15:49 +0200 Message-ID: <87vdo7au56.fsf@ambire.localdomain> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1242098474 15393 80.91.229.12 (12 May 2009 03:21:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 May 2009 03:21:14 +0000 (UTC) Cc: guile-user@gnu.org To: Sebastian Tennant Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue May 12 05:21:06 2009 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M3iYD-0003sS-L6 for guile-user@m.gmane.org; Tue, 12 May 2009 05:21:05 +0200 Original-Received: from localhost ([127.0.0.1]:49228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3iYD-0005Kh-1H for guile-user@m.gmane.org; Mon, 11 May 2009 23:21:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3iY8-0005KJ-D6 for guile-user@gnu.org; Mon, 11 May 2009 23:21:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3iY6-0005K0-Ky for guile-user@gnu.org; Mon, 11 May 2009 23:20:59 -0400 Original-Received: from [199.232.76.173] (port=55289 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3iY6-0005Jx-DM for guile-user@gnu.org; Mon, 11 May 2009 23:20:58 -0400 Original-Received: from smtp-out114.alice.it ([85.37.17.114]:4537) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3iY5-00041n-UR for guile-user@gnu.org; Mon, 11 May 2009 23:20:58 -0400 Original-Received: from FBCMMO01.fbc.local ([192.168.68.195]) by smtp-out114.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 May 2009 05:20:33 +0200 Original-Received: from FBCMCL01B03.fbc.local ([192.168.69.84]) by FBCMMO01.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 May 2009 05:20:32 +0200 Original-Received: from ambire.localdomain ([79.50.69.171]) by FBCMCL01B03.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 May 2009 05:20:32 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1M3iT7-0004Ll-6r; Tue, 12 May 2009 05:15:49 +0200 In-Reply-To: (Sebastian Tennant's message of "Sun, 10 May 2009 16:21:29 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-OriginalArrivalTime: 12 May 2009 03:20:32.0983 (UTC) FILETIME=[9BFBFE70:01C9D2B0] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7287 Archived-At: () Sebastian Tennant () Sun, 10 May 2009 16:21:29 +0000 (with-output-to-file (string-append USER-UPLOAD-DIR upload-fname) (lambda () (display upload))) Perhaps you can convert the string in variable `upload' to a uniform vector and write it out using `uniform-vector-write'. It may be the case, too, that the string can be passed to `uniform-vector-write' directly, e.g.: (with-output-to-file (string-append USER-UPLOAD-DIR upload-fname) (lambda () (uniform-vector-write upload))) thi