Date: Thu, 20 Oct 2005 15:21:39 +0800 From: Daniel <jahilliya@gmail.com> To: ross <ross_@telus.net> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: sftp and escape characters Message-ID: <ba5e78ea0510200021x5e599e7aj651d9aa1be0c84d1@mail.gmail.com> In-Reply-To: <op.syxlq0w9h6fndz@ross.inet> References: <op.syxlq0w9h6fndz@ross.inet>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/20/05, ross <ross_@telus.net> wrote: > Recently, I wanted to upload a file to my friend using sftp. The problem > is that the file had a space in the file name and the standard escape > character of \ didn't seem to work. Is there a way around this? Am I craz= y > and doing it wrong? for reference, the line I entered in the sftp prompt = is > > sftp> put /mnt/pammy/music/Nadasurf-\ Popular.mp3 /files/upload > File "/mnt/pammy/music/Nadasurf-\\" not found. Try enclosing the path+filename fully in single or double quotes. ie. '/mnt/pammy/music/Nadasurf-\ Popular.mp3' or "/mnt/pammy/music/Nadasurf-\ Popular.mp3"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ba5e78ea0510200021x5e599e7aj651d9aa1be0c84d1>