unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: lennart.borgman@gmail.com,
	Michael Albinus <michael.albinus@gmx.de>,
	emacs-devel@gnu.org
Subject: Re: File names with spaces and tramp/ftp
Date: Mon, 11 Feb 2008 22:16:34 -0500	[thread overview]
Message-ID: <jwv8x1qyie6.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <ufxvzp7q5.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 11 Feb 2008 22:18:42 +0200")

>> A sufficient encoding seems to be using double quotes:
>> 
>> put "u:/file name with spaces" "/tmp/file name with spaces"
>> 
>> gives the expected results.
>> 
>> I could change ange-ftp to this encoding style of file names; but I am
>> anxious: it could break ange-ftp on other systems, where double quotes
>> might not be supported.

> Does it help to use shell-quote-argument?

I doubt it: the FTP command is not passed through a shell.
In some cases it may work, of course.


        Stefan




  reply	other threads:[~2008-02-12  3:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-06 22:17 File names with spaces and tramp/ftp Lennart Borgman (gmail)
2008-02-11 15:39 ` Michael Albinus
2008-02-11 20:18   ` Eli Zaretskii
2008-02-12  3:16     ` Stefan Monnier [this message]
2008-02-12 13:00       ` Michael Albinus
2008-02-12 19:58         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv8x1qyie6.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).