GNU bug report logs - #10325
24.0.92; copy-file: using a not existing source file and ftp (tramp)

Previous Next

Package: emacs;

Reported by: Stefan Reichör <stefan <at> xsteve.at>

Date: Mon, 19 Dec 2011 10:27:01 UTC

Severity: normal

Found in version 24.0.92

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Reichör <stefan <at> xsteve.at>
To: 10325 <at> debbugs.gnu.org
Subject: bug#10325: 24.0.92; copy-file: using a not existing source file and ftp (tramp)
Date: Mon, 19 Dec 2011 11:24:38 +0100
Hi!

Copying a not existing file locally correctly raises a file-error:

(copy-file "/home/hz/ju" "~/")

Debugger entered--Lisp error: (file-error "Opening input file" "no such file or directory" "/home/hz/ju")
  copy-file("/home/hz/ju" "~/")
  eval((copy-file "/home/hz/ju" "~/") nil)
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)



However, when copying a not existent file to a ftp server hangs the copy operation:

(copy-file "/home/hz/ju" "/ftp:user <at> host.com:/dest-path/")


I see the following in the message area:

Copying /home/hz/ju to /ftp:user <at> host.com:/dest-path/...


I need to interrupt the operation using C-g.


Stefan.




This bug report was last modified 13 years and 149 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.