Function: ange-ftp-copy-directory
ange-ftp-copy-directory is a byte-compiled function defined in
ange-ftp.el.gz.
Signature
(ange-ftp-copy-directory DIRECTORY NEWNAME &optional KEEP-DATE PARENTS COPY-CONTENTS)
Source Code
;; Defined in /usr/src/emacs/lisp/net/ange-ftp.el.gz
(defun ange-ftp-copy-directory
(directory newname &optional keep-date parents copy-contents)
;; `copy-directory' creates `newname' before running this check. So
;; we do it ourselves.
(unless (file-exists-p directory)
(signal 'file-missing (list "No such file or directory" directory)))
;; We must do it file-wise.
(ange-ftp-real-copy-directory
directory newname keep-date parents copy-contents))