On Thu, Oct 20, 2005 at 10:01:45AM -0700, ross wrote:
> my prompt copy and pasted.

> sftp> put "/mnt/pammy/music/Nadasurf-\ Popular.mp3" /files/upload
> Bad escaped character ' '
> sftp> put '/mnt/pammy/music/Nadasurf-\ Popular.mp3' /files/upload
> Bad escaped character ' '

If you're putting the filename in quotes, you don't need to escape
the space (hence the 'Bad escape' error).

~ % touch "this is a test"
~ % sftp $SERVER
Connecting to merk...
sftp> put this\ is\ a\ test
File "this\\" not found.
sftp> put "this is a test"
Uploading this is a test to /home/$USER/this is a test
this is a test                         100%    0     0.0KB/s   00:00
sftp>

-- 

o--------------------------{ Will Maier }--------------------------o
| jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] |
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
*------------------[ BSD Unix: Live Free or Die ]------------------*

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to