[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ange-ftp still bombed for /dir with space in name/
From: |
Eli Zaretskii |
Subject: |
Re: ange-ftp still bombed for /dir with space in name/ |
Date: |
Sun, 21 Jan 2001 13:17:31 +0200 (IST) |
On 20 Jan 2001, Dan Jacobson wrote:
> I thought [ange-ftp.el]:
> ;; If the dir name contains a space, some ftp servers will
> ;; refuse to list it. We instead change directory to the
> ;; directory in question and ls ".".
> (when (string-match " " cmd1)
> (ange-ftp-cd host user (nth 1 cmd))
> (setq cmd1 "."))
> then why:
> ftp> put /home/jidanni/win/My Webs/myweb/mapping.htm
> /jidanni/mapping.htm
> local: /home/jidanni/win/My: No such file or directory
Because the above trick only fixes problems with spaces in the name of
the remote directory, not in the local file name.