Using telnet I type in command line commands like this
get field with spaces
get "field with spaces"
get 'field with spaces'
And all this three return same error.
-ERR wrong number of arguments for 'get' command
Using telnet I type in command line commands like this
get field with spaces
get "field with spaces"
get 'field with spaces'
And all this three return same error.
-ERR wrong number of arguments for 'get' command
If you only have telnet (and not 'redis-cli'), then you need to use the Redis binary-safe unified protocol to use spaces in key names, for example:
More information about Redis binary-safe protocol: http://redis.io/topics/protocol
What version of redis are you using? It works fine for me on 2.2.2 using double quotes
get "field\ with\ spaces"
that worked for me.