tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scp/sftp "File exists, but cannot be read"


From: Zan Zhou
Subject: scp/sftp "File exists, but cannot be read"
Date: Fri, 28 Nov 2014 14:53:13 +0800

Hi Tramp experts,

I consistently got this error "File exists, but cannot be read" on Emacs for windows, since 23.4.  24.1 all the same.
I connect to a remote Linux server with scp, sftp. The authentication is absolutely correct, and the file is existing and readable.
"dired" for same server works well.

The problem exists for remote tramp since 2.2.6, I verified 2.2.7 2.2.9 2.2.10, all the same.
But I remember the old version, 2.2.3 I once used works.

What's interesting, for some other server, I can access same file with same protocol.

Here is my configuration about tramp:
-------------------------------------------------------------------------------------------
(require 'tramp)
;;Open tramp debug trace
(setq tramp-verbose 6)
;; Following command make all file tranfering use external method rather inline method.
(setq tramp-copy-size-limit -1)
(setq tramp-inline-compress-start-size 1000000)
(prefer-coding-system 'utf-8)
(add-to-list  'file-coding-system-alist
   `(,tramp-file-name-regexp . raw-text-unix))
-------------------------------------------------------------------------------------------

Here are two traces from same test environment, one for good case which can open remote file, one for bad case.
I use tramp 2.2.9 , sftp protocol.
(See attached file: tramplog.zip)


Thanks in advance for your possible help!


Best Regards,
Zane Zhou

Attachment: tramplog.zip
Description: Zip archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]