changeset 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 8a7e3bcab064
children 2b5d9f6cdc24
files lisp/ange-ftp.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)