emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ftp and file names with spaces


From: Lennart Borgman
Subject: Ftp and file names with spaces
Date: Sun, 24 Sep 2006 16:13:06 +0200
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

On w32 `copy-file' that uses ftp to copy a local file to a remote location fails if the local file name contains spaces.

This is a bug I believe, but what should be done to solve it? The file name is sent to the ftp prompt like this

  ftp> put  c:/Program Files/some-file.html  /htdocs/somedir/some-file.html

So it is quoting to the ftp program that is required.

I suppose this problem is not w32 specific, but it is a little bit more complicated on w32, since different ftp program might use different quotings. I could test of course, but I hope someone knows a bit more about it. It looks like the unix style quoting works for the program mentioned here:

   http://www.emacswiki.org/cgi-bin/wiki/AngeFtp#AngeFtp9





reply via email to

[Prev in Thread] Current Thread [Next in Thread]