all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Anne Kaeppes <nomail@invalid>
Cc: help-gnu-emacs@gnu.org
Subject: Re: EMACS Problem: File exists but cannot be read
Date: Thu, 27 Sep 2007 11:02:00 +0200	[thread overview]
Message-ID: <36E20F5D-4A34-4F82-8B34-31D906D96970@Web.DE> (raw)
In-Reply-To: <fdeq5g$3o1$03$1@news.t-online.com>


Am 27.09.2007 um 03:30 schrieb Anne Kaeppes:

>>> This only happens while reading the files with the ftp client in  
>>> emacs.
>> So it can be the FTP server, too!
>
> But how can I check this out?

Ftp "by hand" in some shell:

	ftp IP
	<username>
	cd /path/to/file
	get filename.ext

It's not a good test, since you are fetching that file just once  
while in GNU Emacs the methods get and put might be used a few times.  
There is also some chance that the connection times out, which you  
could find in shell too: just wait for a growing amount of minutes  
and then send a dir command (this can be done incidentally, no need  
to watch it all the time). I don't remember whether the local ftp  
process reports the time-out at once or it needs an "external"  
trigger by sending another ftp command ... (FTP uses two channels of  
communication: a control connection and the one by which files are  
transferred, so it's likely that the local FTP process will report  
the time-out actively.)

It's also possible to use ping and traceroute to check whether the  
connection is stable.

There can also be some firewall in the way. Then it might be better  
to set your system to use "passive FTP." This can "bypass" the  
firewall and make the connection reliable.


Have you ever read the LOG buffer for the FTP process? C-x C-b will  
list all buffers in use. Then search for the IP address (it will most  
probably be part of that buffer's name – and some other part of the  
name will reveal whether you use TRAMP or just ange-ftp).


Another test can be done with another version of GNU Emacs, an elder  
stable one ...

--
Greetings

   Pete

Some day we may discover how to make magnets that can point in any  
direction.

      reply	other threads:[~2007-09-27  9:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-07 23:59 EMACS Problem: File exists but cannot be read Unknown
2007-09-23 18:17 ` Unknown
2007-09-23 21:42   ` Peter Dyballa
     [not found]   ` <mailman.1199.1190583737.18990.help-gnu-emacs@gnu.org>
2007-09-24  9:15     ` Unknown
2007-09-24 11:20       ` Peter Dyballa
     [not found]       ` <mailman.1217.1190632859.18990.help-gnu-emacs@gnu.org>
2007-09-27  1:30         ` Unknown
2007-09-27  9:02           ` Peter Dyballa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36E20F5D-4A34-4F82-8B34-31D906D96970@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=nomail@invalid \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.