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.
Can XEmacs elisp access Windows environment variables? If so, this should
always be available at %SystemRoot%\system32\ftp.exe, at least on NT/2000
boxes.
----- Original Message -----
From: "Jonathan Harris" <jhar(a)tardis.ed.ac.uk>
To: <08.58016472(a)telia.com>
Cc: "'Michael Sperber [Mr. Preprocessor]'"
<sperber(a)informatik.uni-tuebingen.de>; <xemacs-beta(a)xemacs.org>;
<xemacs-nt(a)xemacs.org>
Sent: Monday, May 21, 2001 8:41 PM
Subject: Re: Help test EFS
> 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
>
>