From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: EMACS Problem: File exists but cannot be read Date: Thu, 27 Sep 2007 11:02:00 +0200 Message-ID: <36E20F5D-4A34-4F82-8B34-31D906D96970@Web.DE> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1190883785 17454 80.91.229.12 (27 Sep 2007 09:03:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Sep 2007 09:03:05 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Anne Kaeppes Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 27 11:02:59 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IapGZ-0003hP-HP for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Sep 2007 11:02:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IapGW-0007i2-3C for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Sep 2007 05:02:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IapG3-0007dm-Mh for help-gnu-emacs@gnu.org; Thu, 27 Sep 2007 05:02:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IapG1-0007Zu-Jo for help-gnu-emacs@gnu.org; Thu, 27 Sep 2007 05:02:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IapG1-0007Zd-8b for help-gnu-emacs@gnu.org; Thu, 27 Sep 2007 05:02:05 -0400 Original-Received: from fmmailgate01.web.de ([217.72.192.221]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IapG0-0008Uc-Ji for help-gnu-emacs@gnu.org; Thu, 27 Sep 2007 05:02:04 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate01.web.de (Postfix) with ESMTP id B5C43A1ACC70; Thu, 27 Sep 2007 11:02:03 +0200 (CEST) Original-Received: from [195.4.206.190] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #197) id 1IapFz-00015s-00; Thu, 27 Sep 2007 11:02:03 +0200 In-Reply-To: X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX18pGXvscUDS5c7U80a38UHuXCi3hj2ycsSLEyJV BWx7yf2XrT6Xs787/D9/kFZ9gncR7ATaImBWKjlUCNwwko1z2L a1yuLgQoObxyXxxh0aQw== X-Detected-Kernel: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47919 Archived-At: Am 27.09.2007 um 03:30 schrieb Anne Kaeppes: >>> This only happens while reading the files with the ftp client in =20 >>> emacs. >> So it can be the FTP server, too! > > But how can I check this out? Ftp "by hand" in some shell: ftp IP cd /path/to/file get filename.ext It's not a good test, since you are fetching that file just once =20 while in GNU Emacs the methods get and put might be used a few times. =20= There is also some chance that the connection times out, which you =20 could find in shell too: just wait for a growing amount of minutes =20 and then send a dir command (this can be done incidentally, no need =20 to watch it all the time). I don't remember whether the local ftp =20 process reports the time-out at once or it needs an "external" =20 trigger by sending another ftp command ... (FTP uses two channels of =20 communication: a control connection and the one by which files are =20 transferred, so it's likely that the local FTP process will report =20 the time-out actively.) It's also possible to use ping and traceroute to check whether the =20 connection is stable. There can also be some firewall in the way. Then it might be better =20 to set your system to use "passive FTP." This can "bypass" the =20 firewall and make the connection reliable. Have you ever read the LOG buffer for the FTP process? C-x C-b will =20 list all buffers in use. Then search for the IP address (it will most =20= probably be part of that buffer's name =96 and some other part of the =20= name will reveal whether you use TRAMP or just ange-ftp). Another test can be done with another version of GNU Emacs, an elder =20 stable one ... -- Greetings Pete Some day we may discover how to make magnets that can point in any =20 direction.