diff lisp/ange-ftp.el @ 27478:00282ceafbca

(ange-ftp-copy-file-internal): Quote new name for the case it contains spaces.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 28 Jan 2000 17:29:47 +0000
parents d2027e4f6c93
children 65b514b0ab72
line wrap: on
line diff
--- a/lisp/ange-ftp.el	Fri Jan 28 17:27:56 2000 +0000
+++ b/lisp/ange-ftp.el	Fri Jan 28 17:29:47 2000 +0000
@@ -3501,7 +3501,7 @@
 	      (ange-ftp-send-cmd
 	       f-host
 	       f-user
-	       (list 'get f-name (or temp1 newname))
+	       (list 'get f-name (or temp1 (ange-ftp-quote-string newname)))
 	       (or msg
 		   (if (and temp1 t-parsed)
 		       (format "Getting %s" f-abbr)