* Process filter error in copy-file and error handling
@ 2007-08-04 10:50 Lennart Borgman (gmail)
[not found] ` <E1IHWR8-0004U0-6x@fencepost.gnu.org>
0 siblings, 1 reply; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2007-08-04 10:50 UTC (permalink / raw)
To: Emacs Devel
I got an error in copy-file because a remote directory did not exist.
Emacs then (a bit to my surprise) continued with the next statement
after copy-file. However if I turn on debug-on-error I get a backtrace
(as expected).
Am I supposed to do something special in my code to stop executing after
the error? Or is it a bug?
Here is (a simplified version of) my code:
(defun my-upload-file(filename)
(copy-file local-file
(html-site-current-local-to-remote filename nil)
0)
(message "Upload ready"))
and here is what I get in the message buffer:
Doing CD... [12 times]
Copying myimg.jpg to /ftp:myacc@ftp.myhost.com:/htdocs/img/... [2 times]
error in process filter: ange-ftp-cf2: Opening output file: FTP
Error: "550 /htdocs/img/myimg.jpg: No such file or directory",
/ftp:myacc@ftp.myhost.com:/htdocs/img/myimg.jpg
error in process filter: Opening output file: FTP Error: "550
/htdocs/img/myimg.jpg: No such file or directory",
/ftp:myacc@ftp.myhost.com:/htdocs/img/myimg.jpg
Upload ready
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-06 16:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-04 10:50 Process filter error in copy-file and error handling Lennart Borgman (gmail)
[not found] ` <E1IHWR8-0004U0-6x@fencepost.gnu.org>
2007-08-06 7:29 ` Michael Albinus
2007-08-06 16:33 ` Richard Stallman
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.