Function: ange-ftp-cf2
ange-ftp-cf2 is a byte-compiled function defined in ange-ftp.el.gz.
Signature
(ange-ftp-cf2 RESULT LINE NEWNAME T-HOST T-USER BINARY TEMP1 TEMP2 CONT)
Source Code
;; Defined in /usr/src/emacs/lisp/net/ange-ftp.el.gz
;; last part of copying routine.
(defun ange-ftp-cf2 (result line newname t-host t-user binary temp1 temp2 cont)
(unwind-protect
(if line
;; result from doing a local to remote copy.
(unwind-protect
(progn
(or result
(or cont
(if ange-ftp-waiting-flag
(throw 'ftp-error t)
(signal 'ftp-error
(list "Opening output file"
(format "FTP Error: \"%s\"" line)
newname)))))
(ange-ftp-add-file-entry newname))
;; cleanup.
(if binary
(ange-ftp-set-ascii-mode t-host t-user)))
;; newname was local.
(if temp1
(ange-ftp-real-copy-file temp1 newname t)))
;; clean up
(and temp1 (ange-ftp-del-tmp-name temp1))
(and temp2 (ange-ftp-del-tmp-name temp2))
(ange-ftp-call-cont cont result line)))