Jerker Haglund wrote:
put c:\myweb\behag\anmlan.htm /html/behag/anmlan.htm
/usr/bin/ftp: local: c:mywebbehaganmlan.htm: No such file or directory
The fix to efs-tmp-name-template in efs release 1.20pre1 / package 1.25
is insufficient since it isn't just temporary file names that get passed
to the ftp program, as the above example shows. A hack like the
following is also required.
--- efs.el.bak Mon May 21 23:44:32 2001
+++ efs.el Tue May 22 00:35:46 2001
@@ -3476,6 +3476,8 @@
(defun efs-maybe-quote-local-path (path)
"Quote special characters in PATH if `efs-quote-local-paths' is
non-nil."
+ (if (eq system-type 'windows-nt)
+ (setq path (replace-in-string path "\\\\" "/")))
(if efs-quote-local-paths
(apply (function concat)
(mapcar (function
Since this is getting pretty ugly, an alternative is to stick with
telling users to customise efs-ftp-program-name to point to the version
of ftp.exe that ships with Windows.
Jonathan.
--
Jonathan Harris | jhar(a)tardis.ed.ac.uk
London, England | Jonathan.Harris(a)symbian.com