[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10325: 24.0.92; copy-file: using a not existing source file and ftp
From: |
Stefan Reichör |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
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@host.com:/dest-path/")
I see the following in the message area:
Copying /home/hz/ju to /ftp:user@host.com:/dest-path/...
I need to interrupt the operation using C-g.
Stefan.
- bug#10325: 24.0.92; copy-file: using a not existing source file and ftp (tramp),
Stefan Reichör <=