changeset 93127:e5c915594311

* tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and "psftp".
author Michael Albinus <michael.albinus@gmx.de>
date Fri, 21 Mar 2008 18:00:17 +0000
parents 46ad4668db91
children 91766549425d
files lisp/net/tramp.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/tramp.el	Fri Mar 21 17:58:33 2008 +0000
+++ b/lisp/net/tramp.el	Fri Mar 21 18:00:17 2008 +0000
@@ -535,7 +535,7 @@
 					  ("-ssh")))
 	     (tramp-remote-sh            "/bin/sh")
 	     (tramp-copy-program         "pscp")
-	     (tramp-copy-args            (("-scp") ("-p" "%k")))
+	     (tramp-copy-args            (("-P") ("%p") ("-scp") ("-p" "%k")))
 	     (tramp-copy-keep-date       t)
 	     (tramp-password-end-of-line "xy") ;see docstring for "xy"
 	     (tramp-default-port         22))
@@ -544,7 +544,7 @@
 					  ("-ssh")))
 	     (tramp-remote-sh            "/bin/sh")
 	     (tramp-copy-program         "pscp")
-	     (tramp-copy-args            (("-psftp") ("-p" "%k")))
+	     (tramp-copy-args            (("-P") ("%p") ("-sftp") ("-p" "%k")))
 	     (tramp-copy-keep-date       t)
 	     (tramp-password-end-of-line "xy")) ;see docstring for "xy"
     ("fcp"   (tramp-login-program        "fsh")