]> git.eshelyaron.com Git - emacs.git/commitdiff
(ange-ftp-copy-file-internal): Quote new name
authorGerd Moellmann <gerd@gnu.org>
Fri, 28 Jan 2000 17:29:47 +0000 (17:29 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 28 Jan 2000 17:29:47 +0000 (17:29 +0000)
for the case it contains spaces.

lisp/ange-ftp.el

index d9af92f83ea70a9f5f79ab61161156752f09e2b8..6c822d4604a8126a155ee88604e4bc223f8fa15a 100644 (file)
@@ -3501,7 +3501,7 @@ system TYPE.")
              (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)