sftp and escape characters
jahilliya at gmail.com
Thu Oct 20 00:21:41 PDT 2005
On 10/20/05, ross <ross_ at 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 crazy
> 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
More information about the freebsd-questions