From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Downloading with Emacs - bug in url-http.el? Date: Mon, 27 Jun 2005 08:32:54 +0200 Message-ID: <42BF9D95.1060604@student.lu.se> References: <42BE0159.9020802@student.lu.se> <200506261517.34142.pogonyshev@gmx.net> <42BEBC66.7040005@student.lu.se> <42BEE954.2010703@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1119862477 18553 80.91.229.2 (27 Jun 2005 08:54:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2005 08:54:37 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 27 10:54:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DmpNs-0003jz-Bt for ged-emacs-devel@m.gmane.org; Mon, 27 Jun 2005 10:54:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DmpVT-0003bY-Tr for ged-emacs-devel@m.gmane.org; Mon, 27 Jun 2005 05:02:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DmpCi-0006HX-AH for emacs-devel@gnu.org; Mon, 27 Jun 2005 04:42:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DmpCT-0006Gg-1H for emacs-devel@gnu.org; Mon, 27 Jun 2005 04:42:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dmp74-00060n-GO for emacs-devel@gnu.org; Mon, 27 Jun 2005 04:37:07 -0400 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DmoyD-0005sN-PZ for emacs-devel@gnu.org; Mon, 27 Jun 2005 04:27:58 -0400 Original-Received: from [192.168.123.121] (83.249.204.245) by pne-smtpout2-sn1.fre.skanova.net (7.2.060.1) id 42B93717000CCC66; Mon, 27 Jun 2005 08:32:54 +0200 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: bob@rattlesnake.com, emacs-devel@gnu.org In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:39633 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39633 Robert J. Chassell wrote: >I just tried > > (url-dl-download "http://purl.org/harder/dpans.html" > "/usr/local/src/" > nil > "Common_Lisp.texi") > >and received this error message: > > error in process filter: progn: > Opening output file: no such file or directory, > /home/bob/emacs-21/http:/www.ifa.au.dk/~harder/dpans.html-h.txt > >I also tried the command replacing the nil argument with "" but the >expression also failed. > > I have tried to find the cause if this. It seems like the callback functions from url-retrieve does not work as it should. I get callbacks from redirections though I believe it is not documented that it should behave this way. I have implemented a workaround. This workaround unfortunately means you can not have more than one download active (and it is not foolproof).